Bouncing
cgaliano
Member, PRO Posts: 21
Hi guys
I have a ball that bounces within 4 walls. Eventually the ball will start moving horizontally or vertically from one wall to the other and obviously will stay doing the same forever. Is there any way to correct the bouncing when that happens by somehow forcing the ball to take an angle?
Thanks.
Comments
@cgaliano I would do some testing as far as your actor's X and Y linear velocity is concerned. It's not that hard to make two actors, and have one display the ball's X velocity and the other, Y. You could have a rule that makes the ball move either in the X or Y direction as needed, if their respective velocities fall below a threshold you set.
Mathtap.com (Android) | Fridgemanager.com (Android) | Breakoutofspace.com (Android)
Simply turn 'Friction' to 0.
I read this and had this reaction.
Nice one, @Socks
Mathtap.com (Android) | Fridgemanager.com (Android) | Breakoutofspace.com (Android)
I already have friction = 0.
Try setting the Y-axis gravity to something like 1 or 5. So small that it dosen't matter, but I think it will still work.
Turn friction to 0 on all actors in the interaction/collision.