constraint motor resulting forces

philvil
Posts: 1
Joined: Fri Jan 15, 2010 11:46 am

constraint motor resulting forces

Post by philvil »

Hi everybody,
I use a constraint motor and need to retrieve the resulting force/torque generated by the motor that apply to the linked bodies. Is it a simple way to do it? I hoped btTypedConstraint::getAppliedLinearImpulse/getAppliedAngularImpulse could help, but the retrieved values never change. Any help would be really apreciated. Thanks.
User avatar
rponomarev
Posts: 56
Joined: Sat Mar 08, 2008 12:37 am

Re: constraint motor resulting forces

Post by rponomarev »

Currently functions btTypedConstraint::getAppliedLinearImpulse()/getAppliedAngularImpulse() are not supported
You may use btTypedConstraint::getAppliedImpulse(), but this function returns the total impulse applied by constraint
during simulation step, including motors and other constraint forces