Vice City: Multiplayer

VC:MP Discussion => Support => Topic started by: eDz0r on Nov 02, 2014, 08:44 AM

Title: What type of angles
Post by: eDz0r on Nov 02, 2014, 08:44 AM
So i presume there are Quaternion right? but how to convert to Eulers because i have vehicles position with Eulers
Title: Re: What type of angles
Post by: Gudio on Nov 02, 2014, 09:20 AM
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.
Title: Re: What type of angles
Post by: eDz0r on Nov 02, 2014, 11:58 AM
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