I am going through some tutorials to use bullet with my ogre3d application.
I have read that i needed to use the btMotionState class.
When i found it, i discovered a weird function called getWorldTransform, with a return type void which asked for an argument...
In most of the tutorials I've read so far, i believe that this function was used as a setter :
Code: Select all
virtual void getWorldTransform(btTransform worldTrans) const{
worldTrans = mTransformation;
}
Is it normal ?