Game Development Community

will several object(dropped to origin) have same position?

by jahid57 · in Torque 3D Beginner · 05/27/2011 (1:57 pm) · 2 replies

when i select to drop an object to the drop location at origin,then object drops to origin.but there is a question.why several object(no one have any collision box ) droped to origin shows different values for transform->position.they should show same position for all the object as there is one origin in one world and that is (0 0 0).

#1
05/27/2011 (3:01 pm)
Not necessarily. This behavior depends on two settings.

For one, whether you have object centers or bounding box centers selected (found in the toolbar). And then, whether you have "Snap to object bounding box" selected or not (found in the snapping options in the toolbar).

If you snap to bounding boxes, the object will be dropped relative to its bottom bounding box center point making it rest on the ground. If you have object centers on and snap to bbox disabled, it will produce the behavior you expect here, namely a position of "0 0 0".
#2
05/27/2011 (9:33 pm)
thanks for yourt explanation.i will try to figure that out