Help with rotate drawing


  • Posts: 6
I want to draw a polygon with random shape and also apply a collision box to it. The way I'm doing this now is creating an actor and adding a polygonal collision shape and drawing a polygon at the same X,Y. However when the collision box collide and the actor rotate it only rotate the collision box and not the polygon that I'm drawing. Any idea how I can fix this?


Shape on the way down

Shape failed to rotate drawing when landed