CanvasEngin - Rotate an entity box
I'm testing CanvasEngine to make HTML5/JS video games.
I have a car, which is an Entity. When I turn, I change the "rotation"
property of the Entity.el. The problem is that the Element (Entity.el)
rotate, but not the Entity box, so the behavior is weird for collisions..
Do you know how to make Entity rotate in CanvasEngine ?
Thnaks !
E
No comments:
Post a Comment