Bounce on walls, sometimes stuck...

Best Answer
-
tenrdrmer Posts: 9,934
Add in a rule that when the x velocity hits zero it changes runs an acceleration rule to move toward the other half of the screen
Something like
When Self position x > 240 and
self.leniearvelocity.x =0
-Accelerate in a direction of 180 at 100
Something along those lines. Also I believe the block breaker demo has some rules for fixing this problem as well. you could also place an actor at both ends and revers the x velocity when the ball hits it.
Answers
@MegaEduX