[ODE] Re: RE Get Force

kurimail kurimail at arrakis.es
Fri Jul 22 22:42:06 MST 2005


Ok, so is how it works...

while (not end)
{
;Simulation Starts...

;First Force
You apply force (body,15,0,0) ;Actual Force = 15

;Some Stuff
You apply torque...
You add bodies
etc...

;More Force
You apply force (body,15,0,0) ; Actual Force = 30

;How much force i have?
dbodygetforce() ; VALUE = 30

;Simulation Step
dWorldQuickStep()

}

Hope this helps!

> Hi,
> I need to get the body forces not velocities. I need to know where a
> step starts and where it ends. So concentrate on the force :)
>
> Thanks
>



More information about the ODE mailing list