Game Development Community

Bugged Vehicle, doesn't drive correctly

by David Bedford · in Torque Game Engine · 03/31/2009 (12:27 pm) · 1 replies

Here's a video to show the issue I am having.
http://www.youtube.com/watch?v=bIUb3tnMmyc

Not quite sure what's going on, but as you can see it won't drive correctly its like jittery or something. I think it started after I implemented the Adding new positions resource. http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=4348 and http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=15078

I also made the changes suggested by Bryce on page 8 to make the camera follow the player when they go crouch or prone or whatever, and the change suggested by Aun Taraseina on page 6 to slow the player when they go crouch or prone.

I don't know why it would mess up the vehicle since no changes were made to any vehicle related code, or so I thought. Anyone experienced a similar issue? Maybe my problem isn't even related to those resources, but they were the only ones I added that required engine modification, everything else I did between the time that it worked and then didn't work were scripts, and none of them modified anything vehicle related.

Any ideas what might be wrong?

#1
03/31/2009 (7:34 pm)
Ok I found the solution, it was because of the change that Bryce suggested on page 8 to make the camera follow the player when they go crouch or prone. I removed that code and instead used the code suggested by Ron Nelson, and that code seems to work well, my vehicles work just like before and my camera follows the character when they crouch and such.