Dmitriy
11-05-2012 14:28:01
I have the body in space. This space must be underwater world. There are must be Archimed's force that influence to body. I wrote:
Body is not falling it stays in the air i.e underwater.
I need to move it by forces and torques now. When I add forces or torques, they give velocity to my body, but the body is never stops now. That because of there is no friction in the space. How can I add friction to the space? Is it possible or is there any solution? For now i think to add forces of friction by the hands, by body->addForce(), but it seems to me is not the best way.
body->addLocalForce(0,body->getMass()*9.8,0);
Body is not falling it stays in the air i.e underwater.
I need to move it by forces and torques now. When I add forces or torques, they give velocity to my body, but the body is never stops now. That because of there is no friction in the space. How can I add friction to the space? Is it possible or is there any solution? For now i think to add forces of friction by the hands, by body->addForce(), but it seems to me is not the best way.