public class RigidBodyMotionState
extends java.lang.Object
| Constructor and Description |
|---|
RigidBodyMotionState() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
applyTransform(com.jme3.scene.Spatial spatial)
applies the current transform to the given jme Node if the location has been updated on the physics side
|
protected void |
finalize() |
long |
getObjectId() |
com.jme3.math.Vector3f |
getWorldLocation() |
com.jme3.math.Matrix3f |
getWorldRotation() |
com.jme3.math.Quaternion |
getWorldRotationQuat() |
boolean |
isApplyPhysicsLocal() |
void |
setApplyPhysicsLocal(boolean applyPhysicsLocal) |
void |
setVehicle(PhysicsVehicle vehicle) |
public boolean applyTransform(com.jme3.scene.Spatial spatial)
spatial - public com.jme3.math.Vector3f getWorldLocation()
public com.jme3.math.Matrix3f getWorldRotation()
public com.jme3.math.Quaternion getWorldRotationQuat()
public void setVehicle(PhysicsVehicle vehicle)
vehicle - the vehicle to setpublic boolean isApplyPhysicsLocal()
public void setApplyPhysicsLocal(boolean applyPhysicsLocal)
public long getObjectId()
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwable