the code using quaternion(vector3.zero) doesnt compile in beta9
does anyone know how to fix it? what API changes have been made?
beta9 quaternion(vector3.zero) has changed into?
You need to pass an axis and angle. If you just want zero you can do this.
var something = Quaternion()
cybereality hmm , i cant get it working, i need euler angles.
ill ask erich to look into it, i suck at coding
- Best Answerset by DJM
Oh, I see. Yeah, you can do this.
var angle = Quaternion.from_euler(Vector3.ZERO)
cybereality tnx! that did the trick