Physics: prevent rotation but bounce properly

Get help using Construct 2

Post » Tue May 28, 2013 2:13 pm

Hello there,

I'm building an arcade pool-like game with physics. There's an issue with the physics engine: in order for the balls to bounce properly from the borders (with the correct angle of reflection), prevent rotation should be set NO. But if the prevent rotation is set to NO, the actual IMAGE is getting rotated, which looks weird, because light reflexes and shadows on the balls are getting rotated too.

Basically only collision polygon should be rotated and not the actual sprite.

The only solution which comes to my mind is to use invisible sprites for collision calculation and pin another sprites on top of them, which is waste of resources.

Are there any solutions for this, apart from that?xoros2013-05-28 15:00:34
Posts: 546
Reputation: 7,616

Return to How do I....?

Who is online

Users browsing this forum: frozn and 6 guests