From d40de2629dbeb56ec61dbb798282b1a44b759f71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20B=C3=B6rnert?= Date: Sun, 1 Mar 2015 07:05:44 +0100 Subject: [PATCH] made change also for jbullet MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kai Börnert --- .../com/jme3/bullet/objects/VehicleWheel.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/jme3-jbullet/src/main/java/com/jme3/bullet/objects/VehicleWheel.java b/jme3-jbullet/src/main/java/com/jme3/bullet/objects/VehicleWheel.java index 0ddbbb852..efcb79ec7 100644 --- a/jme3-jbullet/src/main/java/com/jme3/bullet/objects/VehicleWheel.java +++ b/jme3-jbullet/src/main/java/com/jme3/bullet/objects/VehicleWheel.java @@ -399,4 +399,23 @@ public class VehicleWheel implements Savable { public void setApplyLocal(boolean applyLocal) { this.applyLocal = applyLocal; } + + /** + * write the content of the wheelWorldRotation into the store + * + * @param store + */ + public void getWheelWorldRotation(final Quaternion store) { + store.set(this.wheelWorldRotation); + } + + /** + * write the content of the wheelWorldLocation into the store + * + * @param store + */ + public void getWheelWorldLocation(final Vector3f store) { + store.set(this.wheelWorldLocation); + } + }