Game Development Community

Question about torque game engine mapping issue

by Mick Kellogg · in Artist Corner · 07/01/2007 (6:39 pm) · 6 replies

Ok i have bought the torque game engine and have a team i am working with to make a MMORPG. I have basically found out how to use the entire game engine except for a few things...

1. i dont know how to randomly paint terrain, which would be very helpful if i understood how.

AND..

2. i don't understand how the rotation works in the game, it seems that the only rotation i can make is a flipping motion. So i can flip the object all day if i want to, but i don't know how to turn the object from side to side. When i change some of the numbers under rotation for some reason the object itself actually contorts itself. Rotation is a HUGE part of game creation, i'm pretty sure it contains some sort of math but i dont know. Help!

#1
07/01/2007 (6:45 pm)
Rotation has 4 values
x,y,z and rotation in degrees
x,y,z should be between 0 - 1 and represents how much of the rotation angle to apply to this angle

so:
0 0 1 90 - will rotate 90 deg on the z axis
1 0 0 180 - will rotate 180 degrees on the x axis
1 0 0.5 180 - will rotate 180 on the x and 90 on the z
#2
07/01/2007 (6:47 pm)
Oh sweet thanks that makes a lot of sense now i'll go try it out, but does anyone know how to randomly paint terrain? I already found out how to randomly generate it, but not paint it.
#3
07/01/2007 (6:59 pm)
Wow thanks i can finally rotate things!
#4
08/23/2007 (5:26 pm)
Has anyone gotten around to making a rotation manipulator yet? Seems like that would be far less confusing.
#5
08/24/2007 (6:47 am)
Use "alt" and gizmo axes to rotate an object... built-in feature.