Physics: prevent rotation but bounce properly

0 favourites
  • 1 posts
From the Asset Store
Bouncing ball
$9.99 USD
Template for a bouncing ball game, fully documented in comments and video
  • 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?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)