[ODE] Get force command.........

Mahfuz Rahman odeuser at yahoo.com
Sun Dec 26 23:42:36 MST 2004


I have 100 box stack together... one upon one..
Joint    :   hinge 
Mass     :   Yes mass has given..
Gravity  :   active

I want to get force on any body by following
code..before run simulation... but i have made any
mistake..

=============CODE===============================
printf("%f ", dBodyGetForce (body[25])[0]);
	printf("%f ", dBodyGetForce (body[25])[1]);
	printf("%f ", dBodyGetForce (body[25])[2]);

=============CODE==============================
Force is showing 0.000 0.000 0.000

Can i knowmy fault?

Mahfuz.


		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 


More information about the ODE mailing list