In my game I have a body with a custom polygon shape (I set all the vertices) attached to a movie clip. This movieclip works normally when moving it around the game, but the problem is when I have a movie clip that needs to animate or alternate between states the accuracy of the collision is off.
It seems I need a custom polygon shape for each state in an animation but, how can I alternate between shapes in a body for an animating sprite at runtime? Is this even possible?
It seems I need a custom polygon shape for each state in an animation but, how can I alternate between shapes in a body for an animating sprite at runtime? Is this even possible?