Game Development Community

Unable to change SpawnSphere's rotation

by gamer · in Torque Game Engine · 10/17/2006 (11:50 am) · 3 replies

Hi, I have changed both the position the rotation of my spawnshere in the mission map by editing the .mis file, however, when the mission is loaded the transform still refers back to the default rotation 1 0 0, the position is changed though.
No I am not setting the transform of the spawnSphere anywhere else in my code.
is this a known bug?

thanks

#1
10/17/2006 (12:01 pm)
Rotation takes a fourth value, which is the actual rotation value. The other three specify which axes to rotate around. e.g. "0 0 1 180" will rotate it 180 degrees around the z axis.
#2
10/17/2006 (12:48 pm)
Thank you! that was very stupid of me
#3
10/17/2006 (12:54 pm)
No problem, that's a fairly common pitfall for people when they start manually rotating things so no need to feel stupid.