Fred
24-08-2008 23:49:34
Hi there,
Has anybody already created a realistic jumping and rotating ball?
Can you tell me what "movement options" I have to set?
At the moment my code for move a ball looks just like:
m_Thrust ist a vector3 which is set on (1,0,0) when a key was pressed and which ist set on (0,0,0) when a key was released.
The result does not really looks like a realistic ball. The "object" turns around its own axis, but the rotation stops immediately after releasing the key.
Have you any tips for me, how to create a ball?
Thanks
Fred
Has anybody already created a realistic jumping and rotating ball?
Can you tell me what "movement options" I have to set?
At the moment my code for move a ball looks just like:
m_pBody->addTorque(m_Thrust * 30000);
m_Thrust ist a vector3 which is set on (1,0,0) when a key was pressed and which ist set on (0,0,0) when a key was released.
The result does not really looks like a realistic ball. The "object" turns around its own axis, but the rotation stops immediately after releasing the key.
Have you any tips for me, how to create a ball?
Thanks
Fred