Hovercraft movements and bounce ?
by Billy L · in Torque Game Engine · 09/17/2003 (5:00 am) · 3 replies
Hi guys !
I need my hovercraft or boat as it is to only move horisontal
on the water surface !
And when i collide i want it only to bounce horisontal !
Anybody have a clue how to do this ?
I tried the watercraft but when i collide with something
the axis are changing and i get a hover or flyer .
I messed around with all script parameters but no luck .
need some hints
-Billy
I need my hovercraft or boat as it is to only move horisontal
on the water surface !
And when i collide i want it only to bounce horisontal !
Anybody have a clue how to do this ?
I tried the watercraft but when i collide with something
the axis are changing and i get a hover or flyer .
I messed around with all script parameters but no luck .
need some hints
-Billy
#2
The problem is that i have many boats and dont want them to fly bounce get stuck or sink !
with this floatinggravmag i must change most of my setting
do you have the other settings that you use with this one ?
09/18/2003 (8:21 am)
I give this a try martin !The problem is that i have many boats and dont want them to fly bounce get stuck or sink !
with this floatinggravmag i must change most of my setting
do you have the other settings that you use with this one ?
#3
09/20/2003 (4:43 pm)
Take a look in hoverVehicle.cc, near the top is a function called HoverVehicleData::initPersistFields(). inside that function you can find all of the hover specific parameters that can be used in the vehicle datablock. Also in vehicle.cc the parent class function VehicleData::initPersistFields() contains the datablock parameters that all vehicles share in common.
Torque 3D Owner Martin "Founder" Hoover