I'm trying to make bouncing ball with physics behaviour. But I have problem with bouncing angle.
In situation like this:
ball should bounce like this:
but it bounces like this:
Why this ball bounces in this strange angle?
Live preview (shoot the ball like in angry birds):
https://dl.dropboxusercontent.com/u/176 ... index.html
https://dl.dropboxusercontent.com/u/176 ... gball.capx
The ball has prevent rotation set to Yes, so when the ball bounces it does not rotate and so friction causes its velocityX to reduce to zero.
Develop games in your browser. Powerful, performant & highly capable.
But if I set the prevent rotation to No - the ball rotates and i'd like to avoid that. Ball should have always angle of it's movement.
In that case, pin a non-rotating sprite on top of an invisible ball physics object.