A very small change that creates two getters in VehicleWheel,,
these are necessary if jme's bullet wrapper is used in a non Scenegraph enviroment, for example a ES based server. Signed-off-by: Kai Börnert <kai-boernert@visiongamestudios.de>
This commit is contained in:
parent
f7624be761
commit
409f5ab766
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user