Game Development Community

Rotation Math (Video added)

by Gregor Samsa · in Torque 3D Beginner · 10/17/2009 (3:07 pm) · 22 replies

How can I rotate an object (a security cam) as looking to a specific point(player)?

GO TO POST 18
Page«First 1 2 Next»
#21
11/10/2009 (7:38 pm)
I don't know where I got that idea from. Anyway, thank you again, it is much clear now.

I haven't had a chance to dig into the code and handle the singularity at 180, but it is working as it is.
#22
06/17/2011 (1:42 am)
Hi, I'm wondering about the parameter that is passed in
function directionToAxisAngle(%vDirection)
Whose direction is passed into that function???
Page«First 1 2 Next»