ball jitters after its supposed to have stopped
chicop
Member Posts: 263
Hi there
i have a ball that bounces off of a wall and rolls on the ground..
im trying to have it spin and change direction accordingly which works fine..
however when the ball is not moving any more it will still jitter/nudge randomly even though nothing is acting up on the ball any more..
has any one had this or know how to fix this?
----------------------------------------------------------------
when actor A overlaps or collides with actor B
change attribute self.rotation to false
drag
change attr. self.physics.drag to 45
change attr. self physics angular drag to 0
i have a ball that bounces off of a wall and rolls on the ground..
im trying to have it spin and change direction accordingly which works fine..
however when the ball is not moving any more it will still jitter/nudge randomly even though nothing is acting up on the ball any more..
has any one had this or know how to fix this?
----------------------------------------------------------------
when actor A overlaps or collides with actor B
change attribute self.rotation to false
drag
change attr. self.physics.drag to 45
change attr. self physics angular drag to 0
Comments
http://gamesalad.com/game/play/42356
The only way to avoid it is to respawn the ball when it comes to a stop.
here is a revised version of the above example that seems to work better when spawning a clone upon a stop.
http://gamesalad.com/game/play/49309
Hope that helps.
ive been banging my head on it for days hehe i guess i should have asked sooner :-)