Game Development Community

Some Vehicle problems.

by Logan Strunk · in Torque Game Engine · 05/25/2006 (3:54 pm) · 1 replies

I'm trying to enable free look in vehicles.

I followed the resource allowing me to add the buggy to my FPS game and it works great.

However, I would like to be able to look around with the mouse, while driving with the keyboard.

I edited out the section in the vehicle drivers controls, making the mouse unable to control the vehicle.

I searched, and someone mentioned a global free look variable, but I'm not sure where that would be at. I don't think thats what I'm after.

Is there some way in VehicleDriverMap that:
vehicleDriverMap.bind( mouse, xaxis, yaw );

instead of controlling vehicle yaw would control camera yaw?


Also, I want the wheels to recenter after I let off the key for left or right.
I don't have alot of experience with this type of scripting. Could someone point me in the right direction of how I would do that?

Thank You so Much,
Logan

#1
05/31/2006 (1:45 pm)
Note sure about camera, but for a return to center of steering check this out
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=6305

john