I have a box2d object which is falling. I have to destroy it and replace it with another one. But that's not the problem. The problem is when I create the new body, it doesn't have the momentum the last body had. And when I say momentum, I basically mean the speed with which my first body was falling. How can one get that value and set it to another body?
Also, the part where I delete the body is necessary so I can't avoid that. Any ideas?
Thank you in advance!
Aside from this, why must you absolutely destroy the old body ?
And thank you! Got it to work with LinearVelocity!