Game Development Community

Object placement

by Mark Fearon · in Torque Game Engine · 07/10/2004 (4:54 am) · 4 replies

Hi

I have created a dif structure and placed it in the mission aok.

The problems occur when i try to move the building where i want it to go exactly and rotate it.

I cant rotate the building by changing the rotion values in the rotion text box if i do and then press apply completely different value are inserted and the stucture either fails to move or gets recaled!.

if i put values in the mission file manualy then when i go into the inspector they get reset to 1 0 0 0

erm?

Also i assume that you cant rotate the selected builing with the mouse?

#1
07/10/2004 (7:21 am)
I've found that if you treat the first 3 numbers in a gui rotation transform as "on/off" (1/0), and the 4th one as degrees to rotate about the "on" axis, it is workable.

In other words, if you want to rotate an object around the Z access 180 degrees, set it to:

0 0 1 180
#2
07/10/2004 (10:41 am)
Quote:
Also i assume that you cant rotate the selected builing with the mouse?

Try holding down the alt key
#3
07/10/2004 (11:09 am)
So that how you rotate in the mission editor. I've been wasting so much time doing it with the inspector. Someone should add a botton to the editor GUI for rotating instead of using alt.
#4
07/10/2004 (2:43 pm)
It *is* in the Mission Editor help (F1)