Game Development Community

AdvancedCamera and Interpolation

by Alex (Stalker) Sakablukow · in Torque Game Engine · 10/23/2006 (4:53 am) · 1 replies

I have added interpolation to the Advanced Camera ressource
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5471

and have now a problem.. i set the camera position in onAdd-function to 0,0,500 and sometime (50%) the camera start on this position, if the game is loaded... but sometime (~30%) the camera start randomly somewhere in the world and "fly" (because interpolated ;) ) to the player position.. and sometime (~20%) the game stay after mission load (can be another error, i work actually on it ;P but i think it is the same error with random start position).

I have seen a few other projects with a interpolated camera, and they have this problem too (for example the demo of MMORPG-Kit from Dreamer for a few months, cant find the actual version).

Has someone a idea why the camera start at the random position?