views:

11

answers:

0

Hi,

I have a few 3ds objects where default offset is not (0,0,0). When I add them to my BasicView I want to center them on the scene (moveDown, moveUp, etc), but for this I need to know object's original x, y and z coordinates.

How do I get object's original coordinates? myObject.x/myObject.y/myObject.z are always zero and myObject.geometry is always null.

Thanks.