Hello!
I've just played with box2d for several days and have to say that engine is awesome! Here is the result of my experiments.
Some questions.
In the demo above I had to destroy and recreate pieces' bodies every time after scene renewal. Otherwise that bodies still had little linear on angular velocities, which desintegrates logos before collision, although I've set linear and angular velocities to zero. Maybe there is something else I have to do for pieces to come in rest? While trying to solve this problem, I've discovered body's public properties m_position0 and m_rotation0. Is it previous position and rotation?
Thanks!
I've just played with box2d for several days and have to say that engine is awesome! Here is the result of my experiments.
Some questions.
In the demo above I had to destroy and recreate pieces' bodies every time after scene renewal. Otherwise that bodies still had little linear on angular velocities, which desintegrates logos before collision, although I've set linear and angular velocities to zero. Maybe there is something else I have to do for pieces to come in rest? While trying to solve this problem, I've discovered body's public properties m_position0 and m_rotation0. Is it previous position and rotation?
Thanks!