What type of angles

Started by eDz0r, Nov 02, 2014, 08:44 AM

Previous topic - Next topic

eDz0r

So i presume there are Quaternion right? but how to convert to Eulers because i have vehicles position with Eulers

Gudio

There are built-in functions in squirrel module which support angle in euler or in quaternion.
vehicle.Rotation returns a quaternion and vehicle.EulerAngle returns a vector. It's your choice what are you going to use.

eDz0r

Quote from: Gudio on Nov 02, 2014, 09:20 AMThere are built-in functions in squirrel module which support angle in euler or in quaternion.
vehicle.Rotation returns a quaternion and vehicle.EulerAngle returns a vector. It's your choice what are you going to use.
hmmm, i need to look into that :D