Game Development Community

Rotations In Script-HOW??

by Michael Hense · in Torque Game Engine · 09/05/2006 (5:02 am) · 3 replies

Please forgive the exclamations, but the seemingly simple task of rotating an object has me stumped...

i can use settransform to move stuff all over the universe, but for the life of me, i have no idea how to get something to turn about an axis...

ok... what do the words 3,4,5 and 6 specically do?

if i want to turn an object 5 degrees to the left, how do i go about it...

thx in advance...

--Mike

#1
09/05/2006 (6:59 am)
"what do the words 3,4,5 and 6 specically do?"

This is a Quaternion, here is a link to an article that explain something.
www.gamedev.net/reference/articles/article1095.asp
#3
09/05/2006 (12:52 pm)
Thx guys...

--Mike