amaury
16-06-2006 01:16:56
Hello,
I'd like to joint two vehicles with an hinge... but i don't really understand how to setup where the hinge is linked on the vehicles.
Thanks
I'd like to joint two vehicles with an hinge... but i don't really understand how to setup where the hinge is linked on the vehicles.
OgreNewt::BasicJoints::Hinge *joint=new OgreNewt::BasicJoints::Hinge(m_World,mCar->getChassisBody(),mCar2->getChassisBody(),Vector3(2,0,0),Vector3(0,0,1));
Thanks