Game Development Community

1.4 player jitter, what's the deal?

by Jeremy Alessi · in Torque Game Engine · 09/07/2006 (11:51 pm) · 6 replies

This has been bugging me for a long time. Version 1.4 of Torque has an awful jitter when a player character dies that version 1.3 does not have. This definitely needs to be addressed because it looks very unpolished (and it didn't do it in older versions of the engine!!!). I don't have a build of 1.3 on this machine to compare the code, but perhaps someone already knows why this is happening? I'm very surprised this one hasn't been fixed already, it's still visible in the 1.4 build up on the site right now! I'd definitely appreciate the solution without having to tear and compare the old code.

#1
09/08/2006 (12:10 am)
Hmmm... just caught this list:

http://tdn.garagegames.com/wiki/Torque/1.5/WhatsNew

Glad it's squashed along with a bunch of other bugs. Still, knowing the solution would be optimal at the moment so I don't have to do a whole codebase upgrade right now.
#2
09/08/2006 (12:38 am)
Odd i found a forum post a few weeks ago with a fix for this. But when i search i cant find it anymore. Will try search through my emails tonight for you and try and find the thread.

There was quiet a long thread on deathcam jitters for 1.4. dunno why its not appearing in my searches
#3
09/08/2006 (1:02 am)
I came up with that fix and you don't have to wait for 1.5. Most of the fixes from 1.5 are community based actually.

engine/game/camera.cc

Go to line 281 where it says
validateEyePoint(1.0f, &mRenderObjToWorld);
Change this line to read
validateEyePoint(1.0f, &mObjToWorld);
Problem Solved.
#4
09/08/2006 (1:08 am)
Ahh.....



Thanks . :)
#5
09/08/2006 (1:29 am)
Here's the original thread by the way:

1.4 Graphical gliches?
#6
09/08/2006 (8:10 am)
Very good then! Thanks for the replies!