Game Development Community

How do I get a vector or matrix that determines what direction my boombot is facing?

by Derrick Lau · in Torque X 3D · 10/16/2010 (2:25 pm) · 1 replies

Hi all,

I'm writing an AI component for my Torque X 3D game and am trying to get it to point the boombot in a certain direction. However, I cannot figure out how to get the current rotation or direction the boombot is facing from the T3DSceneComponent. Would someone please explain to me how to do this?

Thanks,
Derrick

#1
10/21/2010 (7:44 am)
Sorry have been pretty busy lately: Did you try the Rotation in the T3DSceneComponent? I am pretty certain that is what you are looking for.