Game Development Community

Direction Vector Help

by Devildrew · in Torque Game Engine · 07/07/2004 (6:41 am) · 1 replies

Can someone help me with the following:

I need to find the direction from the center of the scene pointing to the camera in the TGE C++ code. I need its x,y,z components, this is NOT the camera direction but i believe the other way.


Thanks.

#1
07/07/2004 (8:36 am)
Take the position of the camera and normalize it.