Parcourir la source

MotionEvent upVector is now defaulted to Y axis

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10054 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
rem..om il y a 12 ans
Parent
commit
39d0939879
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      engine/src/core/com/jme3/cinematic/events/MotionEvent.java

+ 1 - 1
engine/src/core/com/jme3/cinematic/events/MotionEvent.java

@@ -62,7 +62,7 @@ public class MotionEvent extends AbstractCinematicEvent implements Control {
     protected float currentValue;
     protected Vector3f direction = new Vector3f();
     protected Vector3f lookAt;
-    protected Vector3f upVector;
+    protected Vector3f upVector = Vector3f.UNIT_Y;
     protected Quaternion rotation;
     protected Direction directionType = Direction.None;
     protected MotionPath path;