Hi, I have a question regarding Collision Polygons and the Rotate behavior. I am making an iOS game with CocoonJS and the thing is, the collisions are crazily laggy when it comes to my enemy sprite (which has a square polygon) and the ground which is a slope.
The enemy sprite is rotating, and my speculation is that its lagging so badly because when it rotates and hits the ground, the math the game is doing to calculate its movement from there and all the rotating and collision detection lags the game?
Is it possible to rotate the sprite a different way without rotating the collision polygons? not through animation.