Inconsistent Positions in editor
by John Quarles · in Torque Game Engine · 07/05/2005 (6:25 pm) · 8 replies
I disabled interactive transformations in the editor so the user can't drag the mouse to move objects around anymore. But you can still click on things to see thier positions. However, the positions of most objects are displayed incorrectly.
Here is a screenshot:
http://www.geocities.com/theoutcrowd/strangeposition.JPG
If you look at the position in the world editor, that is the correct position. The position laid over the object is wrong. How do I make these consistent? Am I interpreting the overlaid position wrong?
Here is a screenshot:
http://www.geocities.com/theoutcrowd/strangeposition.JPG
If you look at the position in the world editor, that is the correct position. The position laid over the object is wrong. How do I make these consistent? Am I interpreting the overlaid position wrong?
About the author
#2
07/05/2005 (6:40 pm)
But my objects haven't moved. Should the current position and the stored position be the same then?
#3
07/05/2005 (7:11 pm)
I'm not sure what you may have done John, but I had to move the object to get the postion and that particular mouse cursor to show.
#4
07/05/2005 (8:56 pm)
Yes, i changed it to where, the object won't move but the user can attempt to move it. When the user clicks and tries to drag an object, the object doesnt move but otherwise everything else about the interface is the same.
#5
07/05/2005 (8:57 pm)
Depending on what you are doing the position shown there can either be the cursor location projected into 3d or the object position. Since you disabled movement it is probably showing the mouse position.
#6
Very strange.
07/06/2005 (6:50 am)
I had a strange problem with object positions once. I placed a house at position (0,0,0) and procedurely created a cornfield near the house. Strangely, the cornfield was generated elsewhere. I tracked this bug to the DTS I was using. Changed the DTS and the cornfield showed up exactly where it should.Very strange.
#7
07/06/2005 (8:00 am)
What was wrong with the DTS? How did you fix it?
#8
07/07/2005 (7:59 am)
I really don't know what was wrong with the DTS in first place. I just modified the mesh and exported again. Try changing your object for something that came with the demo, say a crossbow, and see if it gets in the right place.
Torque Owner David Stewart
It seems that one is the current position of the object and one is the stored position of the object.