Game Development Community

HoverVehicle Camera Woes

by Matthew Hapke · in Torque Game Engine · 05/21/2003 (3:32 pm) · 3 replies

So, I added a Hovervehicle to the Racing mod today. When I'm in 1st person mode, the vehicle renders like you would expect. When I switch to 3rd person mode, the Vehicle is drawn back at the spawn point, and the camera floats off in the opposite direction of the force thrusts.. (at least it appears to be) Anyone have a suggestion on where to start looking for this bug?

#1
05/21/2003 (4:51 pm)
Well, I found out a bit more about the trouble...
Seems if I use a Hovervehicle AND set CameraLag, this behavior happens.
I've looked at Vehicle::AdvanceTime, but I don't see what the problem is...
#2
05/21/2003 (6:37 pm)
Case closed... I need to remember not to post a problem for at least 4 hours =)

The trouble was that the data block I was using did not include a CameraDecay, which vehicle.updateTime needed to not be 0...
#3
03/02/2004 (10:28 pm)
Can you by any chance share your datablock? pls =)