Game Development Community

help with mounting vehicle? please?

by deepscratch · in Torque Game Engine Advanced · 02/21/2009 (11:35 pm) · 1 replies

hi all,
having a problem with when I mount a vehicle, and its freaking me out now.
I can mount and unmount no problem, the character faces forward in the seated position, but the driving and steering is jerky, slow and generaly sucks.
if I F8 to fly mode from the mounted position, then F7 to drop the player, he appears back in the vehicle facing the direction he was when in fly mode, ie: not rotated into the face forward position, sometimes facing side or back,
but the driving becomes very good, responsive, fast and agile.
WTF? I tested this in vanilla 1.7.1, so is this a bug? how can I fix this?
anyone?
thanks

#1
02/22/2009 (12:20 am)
nevermind, changed
%obj.setControlObject(%vehicle);
to
%obj.setControlObject(%player);
works