Difference of getCenterOfMassTransform & getWorldTransform?

papaonn
Posts: 41
Joined: Wed Nov 20, 2013 4:14 pm

Difference of getCenterOfMassTransform & getWorldTransform?

Post by papaonn »

Hi,

May i know what's the difference between getCenterOfMassTransform() & getWorldTransform() ?

Because it seems like it will affect the rotation when i choose different function.

Thanks in advance.
xexuxjy
Posts: 225
Joined: Wed Jan 07, 2009 11:43 am
Location: London

Re: Difference of getCenterOfMassTransform & getWorldTransfo

Post by xexuxjy »

The two appear to refer to the same variable (m_worldTransform) , I suspect it's just a hang over from an old library merge.
papaonn
Posts: 41
Joined: Wed Nov 20, 2013 4:14 pm

Re: Difference of getCenterOfMassTransform & getWorldTransfo

Post by papaonn »

Hi thanks bro,
you are right, i just checked it was my own mistake when calling these two functions, i fixed the bug at my site so they both working happily now!

Thanks! :)