danharibo
28-07-2006 13:49:36
Where exactly is the tires collison createD?
i have tried to search for it, but ti ni avail, can someone point me to it?
i have tried to search for it, but ti ni avail, can someone point me to it?
danharibo
28-07-2006 13:49:36
walaber
29-07-2006 07:02:22
danharibo
29-07-2006 12:13:40
HexiDave
29-07-2006 13:02:51
walaber
30-07-2006 03:54:14
Vehicle::Tire::Tire( OgreNewt::Vehicle* vehicle, Ogre::Quaternion localorient, Ogre::Vector3 localpos, Ogre::Vector3 pin,
Ogre::Real mass, Ogre::Real width, Ogre::Real radius, Ogre::Real susShock, Ogre::Real susSpring, Ogre::Real susLength, int colID)
{
m_vehicle = vehicle;
m_node = NULL;
float matrix[16];
OgreNewt::Converters::QuatPosToMatrix( localorient, localpos, matrix );
m_tireid = NewtonVehicleAddTire ( m_vehicle->getNewtonVehicle(), matrix, &pin.x, mass, width, radius,
susShock, susSpring, susLength, this, colID );
}