瀏覽代碼

made change also for jbullet

Signed-off-by: Kai Börnert <[email protected]>
Kai Börnert 10 年之前
父節點
當前提交
d40de2629d
共有 1 個文件被更改,包括 19 次插入0 次删除
  1. 19 0
      jme3-jbullet/src/main/java/com/jme3/bullet/objects/VehicleWheel.java

+ 19 - 0
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) {
     public void setApplyLocal(boolean applyLocal) {
         this.applyLocal = 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);
+    }
+
 }
 }