Game Development Community

Mounting a vehicle/object

by Serjh Asdourian · in Torque Game Engine · 08/17/2006 (6:33 pm) · 2 replies

I've been spending all day trying to mount a vehicle, I even followed that vehicle resource. I couldn't get any of them to work, all I do is keep getting errors, can somone give me a link or tell me how to make this possible?

#1
08/17/2006 (6:53 pm)
Well...
without specifying either the problem you are having.
or with what resource you are having a problem with.

it's going to be tough to get a decent response.

something like:
do a better search of the forums

would be applicable because there are many resources some newer than others.


however if you know what you're doing, you can resolve this by dumping the car objects properties in the script.

with that dump you examine the mountable tag variable.
if the vehicle is not mountable you cannot mount it.
this is resolved by analyzing the script code for the player and the car.

onCollision is doing the work here.

good luck.
#2
08/18/2006 (9:02 am)
I got it working, thanks.