SetTransform not setting rotation
by arda · in Torque Game Engine · 11/23/2005 (7:59 am) · 0 replies
Hi you all,
I calculated a transform to make vehicle face to a point.
Then called the
setTransform(%transform)
echo(%transform)
CreateAIWheeledVehicle setTransform -324.715 980.527 3 0.999932 0.00298871 0.0112624 0
After setTransform I called getTransform to see if transform is set but it did not. I tried to set the same transform value from world editor again it did not set to the transform I calculated.
What is wrong with the transform " -324.715 980.527 3 0.999932 0.00298871 0.0112624 0"
:)
Thanks
I calculated a transform to make vehicle face to a point.
Then called the
setTransform(%transform)
echo(%transform)
CreateAIWheeledVehicle setTransform -324.715 980.527 3 0.999932 0.00298871 0.0112624 0
After setTransform I called getTransform to see if transform is set but it did not. I tried to set the same transform value from world editor again it did not set to the transform I calculated.
What is wrong with the transform " -324.715 980.527 3 0.999932 0.00298871 0.0112624 0"
:)
Thanks
About the author