Getting the Third Person Camera Transform
by Ben Rowland · in Torque Game Engine · 06/12/2005 (8:16 am) · 1 replies
Is there any way of getting the transform of the third person camera in script. I have a flying vehicle, and when it crashes that is game over. I want to leave the camera where it is for a few seconds for the explosion, but the actual vehicle keeps on moving and bouncing over the terrain. I can solve the problem by switching to the external camera, and transforming the vehicle away somewhere, but I need to position the new camera in the place of the original third person camera. I have been using getEyeTransform, and then trying to use that to get a vector along which the camera is pointing, and then adding that vector to the position, but my maths isn't up to it, so any help would be really great.
Thanks in advance for anyone who can help
Thanks in advance for anyone who can help
About the author
Torque Owner Adrian Tysoe
At the moment cameras are very rigid and require a lot of work in C++ to produce something more dynamic. Would need to be able to introduce timing to the transforms to be really useful. Maybe with the SDK and access to the private forums, there may be more information about camera related things?.