Browse 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 12 years ago
parent
commit
39d0939879
1 changed files with 1 additions and 1 deletions
  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;