diff --git a/jme3-bullet/src/main/java/com/jme3/bullet/objects/VehicleWheel.java b/jme3-bullet/src/main/java/com/jme3/bullet/objects/VehicleWheel.java index 99f132ff1..1e86cc256 100644 --- a/jme3-bullet/src/main/java/com/jme3/bullet/objects/VehicleWheel.java +++ b/jme3-bullet/src/main/java/com/jme3/bullet/objects/VehicleWheel.java @@ -420,4 +420,22 @@ public class VehicleWheel implements Savable { 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); + } + } 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); + } + }