[ODE] movement force conversion
piotr_obrzut at o2.pl
Wed Apr 6 19:57:31 MST 2005
Sunday, April 3, 2005, 11:09:59 PM, you wrote:
MF> By taking your starting joint matrix, whatever it is (probably pose),
MF> and transforming it by your animation quaternion. Then just extract
MF> the axis from the transformed joint matrix.
I remind that I was trying to control my dynamic model by
I think I did exactly as Megan sugested by setting apropriate AMotor
angles by euler angles taken from realtive bones orientations at each
animation frame. It looks exactly the same as in animation.
My question is: how setting amotor angle affect on forces acting on
both bodies? (I was trying to get this information from joint.cpp but
While quick testing I think that this don't change bodies forces at
all or (more likely) it does but It doesn't care about external
forces - only main bone is following them (it is not affected by
angle setting function b/c it has no parent). The same situation was
when using setting joint vel function.
I was hoping that they will mix outside forces with this ones which tries
to set the apropriate angle (of course if such forces exists). Should
I calculate torques by myself instead (so I will be fully able to mix
forces)? I think also about some mechanism which will decrease the
animation weight on afected by collision and external forces bodies -
will this resolve my problem?
More information about the ODE