Hello,
I'm currently working on a stacking game with box2d as physics engine.
I searched a lot on the internet and i learned that i had to use a movieclip with all the box2d objects in it, and move that (container) movieclip if i want to move the whole stack up and down.
I have done that but theres a problem left. When i drop a cube and it turns, the whole shape is stretched.
Demo: http://www.aymeric.nl/box2demo.swf
How can i keep the rectangle rectangular and not square when i turns? Do i have to use globaltolocal or something?
Thanks!
I'm currently working on a stacking game with box2d as physics engine.
I searched a lot on the internet and i learned that i had to use a movieclip with all the box2d objects in it, and move that (container) movieclip if i want to move the whole stack up and down.
I have done that but theres a problem left. When i drop a cube and it turns, the whole shape is stretched.
Demo: http://www.aymeric.nl/box2demo.swf
How can i keep the rectangle rectangular and not square when i turns? Do i have to use globaltolocal or something?
Thanks!