Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
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
Develop games in your browser. Powerful, performant & highly capable.
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.
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.