Stencyl 3.4.0 is now out. Get it now!

Help with rotate drawing

EvilPotato

  • Posts: 5
Hi!
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?

Code

Shape on the way down

Shape failed to rotate drawing when landed
Thanks!