Game Development Community

New To 3D scripting

by Dwayne Brown · in Torque Game Engine · 09/14/2005 (4:42 pm) · 3 replies

Hello I am a new Learning Torque User and I have been following this book 3D Programming Game Programming All In One by Kenneth C. Finney which got me stumped in Chapter 3 on 3D concepts.

When getting the object echo(1359.getTransform()); in the console window I get this result:
49.2144 -66.1692 0.4 0 0 -1 9.74027

My question is what part of this result is the XYZ coordinate?

#1
09/17/2005 (8:36 pm)
The first three numbers. The last four numbers are an axis and a rotation around it (in radians, I believe). Together these things encode a position and a rotation.
#2
09/18/2005 (3:44 pm)
As an FYI, this belongs in the 3DGPAI1 forum area, not the Terrain Discussions one!
#3
09/18/2005 (6:00 pm)
Yeah I just noticed it under the 3D Game Programming All In One forum area Yesterday.