Game Development Community

Insert point of t2dSceneObject is center of object?

by Merfy · in Torque Game Builder · 04/10/2009 (9:15 pm) · 1 replies

Is it the upper left corner, the center, or what?

It "appears" to be the center because if I SetPositionX() to the left extents then it chops about half my image off, but just wanting some confirmation.


#1
04/12/2009 (12:32 pm)
The X, Y position of an object is the center of the object.

If you have an object which is sized "16 16" and positioned at "0 0", then the top-left corner is positioned at "-8 -8", the bottom-right corner is "8 8".