Changing the direction a player faces when mounted
by Mike Stoddart · in Torque Game Engine · 09/13/2002 (2:36 pm) · 1 replies
I'm trying to change the way a player faces when they are mounted in a vehicle as a passenger. In my mount function I'm doing:
where %mountPointTransform[1] is some transform like "0 0 0 0 0 1 0", for example. The player always seems to face forwards. Is there anything else I should be doing? I tried searching the C++ code for something that forced the player to face forward, but I haven't found anything yet. Has anyone else tried this?
Thanks
Quote:
%obj.setTransform(%mountPointTransform[1]);
where %mountPointTransform[1] is some transform like "0 0 0 0 0 1 0", for example. The player always seems to face forwards. Is there anything else I should be doing? I tried searching the C++ code for something that forced the player to face forward, but I haven't found anything yet. Has anyone else tried this?
Thanks
Torque Owner Eric Hartman