|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.bulletphysics.linearmath.MotionState
com.jme3.bullet.objects.infos.RigidBodyMotionState
public class RigidBodyMotionState
stores transform info of a PhysicsNode in a threadsafe manner to allow multithreaded access from the jme scenegraph and the bullet physicsspace
コンストラクタの概要 | |
---|---|
RigidBodyMotionState()
|
メソッドの概要 | |
---|---|
boolean |
applyTransform(Spatial spatial)
applies the current transform to the given jme Node if the location has been updated on the physics side |
Vector3f |
getWorldLocation()
|
Matrix3f |
getWorldRotation()
|
Quaternion |
getWorldRotationQuat()
|
com.bulletphysics.linearmath.Transform |
getWorldTransform(com.bulletphysics.linearmath.Transform t)
called from bullet when creating the rigidbody |
boolean |
isApplyPhysicsLocal()
|
void |
setApplyPhysicsLocal(boolean applyPhysicsLocal)
|
void |
setVehicle(PhysicsVehicle vehicle)
|
void |
setWorldTransform(com.bulletphysics.linearmath.Transform worldTrans)
called from bullet when the transform of the rigidbody changes |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public RigidBodyMotionState()
メソッドの詳細 |
---|
public com.bulletphysics.linearmath.Transform getWorldTransform(com.bulletphysics.linearmath.Transform t)
com.bulletphysics.linearmath.MotionState
内の getWorldTransform
t
-
public void setWorldTransform(com.bulletphysics.linearmath.Transform worldTrans)
com.bulletphysics.linearmath.MotionState
内の setWorldTransform
worldTrans
- public boolean applyTransform(Spatial spatial)
spatial
- public Vector3f getWorldLocation()
public Matrix3f getWorldRotation()
public Quaternion getWorldRotationQuat()
public void setVehicle(PhysicsVehicle vehicle)
vehicle
- the vehicle to setpublic boolean isApplyPhysicsLocal()
public void setApplyPhysicsLocal(boolean applyPhysicsLocal)
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |