positive infinity mass

Jul 20, 2010 at 1:31 PM
Hello i have a little problem. I have moving platforms in my game. I have done this by creating a non-static body that ingnors gravity and has a infanat mass. There fore i can move it as i wish and all the forces are applyed to players on the platforms. This was all working fine until i started rotating the platforms. whenever i play the level the platform pos becomes "nan" and of course crashes everything. Any thoughs on what is wrong?
Jul 20, 2010 at 2:34 PM

Why not just make the body kinematic and change linear / angular velocity?

Jul 20, 2010 at 2:37 PM
Because iv not upgraded to v3 yet. My game engine is huge and i dont want to upgrade untill 3 is full released
Jul 21, 2010 at 6:42 PM
I had a similar issue with 2.1.3. I ended up just making the platforms static, and then just altering the Linear Velocity of the platforms whenever they moved. It seemed to work well.
Jul 21, 2010 at 8:45 PM
just worked it out. set it to ingnore gravity and it works fine.