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?
Develop games in your browser. Powerful, performant & highly capable.