Get Position only giving me 0.0
by Anthony Rosenbaum · in Torque Game Builder · 04/10/2009 (6:55 am) · 0 replies
I have a class which I want to mount another objcet to, but when I do I see the mounted object fly across the screen for a split second as it goes to mount. If I try to set the mounted object's inital position to the parents position I only get 0,0 for the parents position.
The parent is moving as I am getting position.
Has anyone encountered this?
I have used getPosition(), getRenderPostion() they all result with 0,0
Am I doing this wrong?
Is there maybe a way to hide the mounted object until it is mounted?
The parent is moving as I am getting position.
Has anyone encountered this?
I have used getPosition(), getRenderPostion() they all result with 0,0
Am I doing this wrong?
Is there maybe a way to hide the mounted object until it is mounted?
About the author