Actually, what the teleport does ( void CFourWheelVehiclePhysics::Teleport( matrix3x4_t& relativeTransform ) it was already present, I'm just making a function call here), is move the four wheels; and nothing else. Comment says:
// We basically just have to make sure the wheels are in the right place // after teleportation occurs > If your vehicles are anything like the jeep it's probably because it > has more than one physics object and you're only moving one, so when > you're moving the main object the wheels are still where they were, so > they pull it all back. > > I guess you need to move all the wheel objects too, I'm not sure if > there's a function to do that for you. > > garry > > On 4/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> Hi all, >> >> I'm trying to respawn vehicles back to their original position after >> they >> haven't been used for a while. For simplicity I thought of just >> teleporting the vehicles. I saw there's a function Teleport in the >> vehiclephysics class; but when I call it it seems Catapult would have >> been >> a beter name :p [ I test this while driving it though, maybe that in >> itself is a no-no ]. Do I need to disable something first; is there >> another way to teleport a vehicle or is teleporting just not a good >> option >> here? >> >> Thanks in advance for your help, >> >> -- Maarten >> >> >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> http://list.valvesoftware.com/mailman/listinfo/hlcoders >> >> > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

