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
B
45
S
11
G
4
Posts: 515
Reputation: 7,389

Return to How do I....?

Who is online

Users browsing this forum: gianghl1983, MAD4R4, PauloMarcio and 9 guests