Hi
I am converting a project from ODE to newton and I am having some trouble with a few functions.
ODe has a function
[pascal]dBodyAddRelForceAtRelPos[/pascal]
Which applys a force at a relative position in the objects local space. I use this function to simulate a thruster firing on the space ship at a certain point on the space craft.
Now newton does not seem to have a similar function. Any ideas on how I write a version of this function myself :?:
I know I have to use the [pascal]NewtonBodyAddForce[/pascal] in the ForceAndTorqueCallback but this appears to only support adding a force, or torque at the center of the body.
What I am trying to simulate is fairly accurate physics on a space ship. each thruster will apply it's force in a certain direction at a certain point on the body, th idea being that is a thruster gets damaged the control of the craft will alter.
can anyone help?
Bookmarks