How to make a vehicle swim?
by AIDan · in Torque Game Engine · 02/21/2002 (8:52 am) · 6 replies
It seems like the density property was removed from the vehicles.
Is that right or am I missing something?
greetings
Daniel
Is that right or am I missing something?
greetings
Daniel
About the author
#2
greetings
Daniel
02/21/2002 (11:06 am)
I checked the T2 scripts for it before I asked.datablock WheeledVehicleData(MobileBaseVehicle) : MPBDamageProfile
{
drag = 0.0;
density = 20.0;
};greetings
Daniel
#3
density is defined in shapebase and works with vehicles
Try this in your vehicle datablock and you'll see what I mean(very exaggerated but shows it works).
density = 0.0001;
Then go into water.
hope that helps.
Bruce
02/21/2002 (11:57 am)
I just looked into this, obviously it still works, I'm still laughing.density is defined in shapebase and works with vehicles
Try this in your vehicle datablock and you'll see what I mean(very exaggerated but shows it works).
density = 0.0001;
Then go into water.
hope that helps.
Bruce
#4
It is not working for me. With the player it works.
02/21/2002 (1:13 pm)
Did you try it with the Racing Demo??It is not working for me. With the player it works.
#5
02/21/2002 (1:28 pm)
Yes I tried it with the latest head version running the racing mod.
#6
It seems like when your vehicle hits the ground, it stays there.
So when you spawn your vehicle over the water and it hits the ground, because it impacts too hard, it stays on the ground.
If it does not hit the ground, it makes it way back to the surface.
greetings
Daniel
02/23/2002 (3:43 am)
Now I got it work.It seems like when your vehicle hits the ground, it stays there.
So when you spawn your vehicle over the water and it hits the ground, because it impacts too hard, it stays on the ground.
If it does not hit the ground, it makes it way back to the surface.
greetings
Daniel
Torque Owner Tim Gift