MotionEvent upVector is now defaulted to Y axis

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10054 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
rem..om 12 years ago
parent 5d9b67214a
commit 39d0939879
  1. 2
      engine/src/core/com/jme3/cinematic/events/MotionEvent.java

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

Loading…
Cancel
Save