From 39d093987912edcf764049a409c1b51b75b6a4e2 Mon Sep 17 00:00:00 2001 From: "rem..om" Date: Fri, 4 Jan 2013 18:04:23 +0000 Subject: [PATCH] MotionEvent upVector is now defaulted to Y axis git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10054 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/core/com/jme3/cinematic/events/MotionEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/core/com/jme3/cinematic/events/MotionEvent.java b/engine/src/core/com/jme3/cinematic/events/MotionEvent.java index 2e5c8987d..edd4990f5 100644 --- a/engine/src/core/com/jme3/cinematic/events/MotionEvent.java +++ b/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;