beautify
This commit is contained in:
+1
-1
@@ -131,7 +131,7 @@ public class Foot : Component
|
||||
RotateY();
|
||||
RotateZ();*/
|
||||
|
||||
// Z and X is working. Y has problems when combined with others.
|
||||
// the order of these rotation transformations is important!!!
|
||||
Vector3 v = new Vector3((float)X, (float)Y, (float)Z);
|
||||
v = Quaternion.Euler((float)0, (float)rotationY, (float)0) * v;
|
||||
v = Quaternion.Euler((float)rotationX, (float)0, (float)0) * v;
|
||||
|
||||
Reference in New Issue
Block a user