com.jme3.bullet.joints
クラス ConeJoint

java.lang.Object
  上位を拡張 com.jme3.bullet.joints.PhysicsJoint
      上位を拡張 com.jme3.bullet.joints.ConeJoint
すべての実装されたインタフェース:
Savable

public class ConeJoint
extends PhysicsJoint

From bullet manual:
To create ragdolls, the conve twist constraint is very useful for limbs like the upper arm. It is a special point to point constraint that adds cone and twist axis limits. The x-axis serves as twist axis.


コンストラクタの概要
ConeJoint()
           
ConeJoint(PhysicsRigidBody nodeA, PhysicsRigidBody nodeB, Vector3f pivotA, Vector3f pivotB)
           
ConeJoint(PhysicsRigidBody nodeA, PhysicsRigidBody nodeB, Vector3f pivotA, Vector3f pivotB, Matrix3f rotA, Matrix3f rotB)
           
 
メソッドの概要
 void read(JmeImporter im)
           
 void setAngularOnly(boolean value)
           
 void setLimit(float swingSpan1, float swingSpan2, float twistSpan)
           
 void write(JmeExporter ex)
           
 
クラス com.jme3.bullet.joints.PhysicsJoint から継承されたメソッド
destroy, getAppliedImpulse, getBodyA, getBodyB, getObjectId, getPivotA, getPivotB, isCollisionBetweenLinkedBodys, setCollisionBetweenLinkedBodys
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ConeJoint

public ConeJoint()

ConeJoint

public ConeJoint(PhysicsRigidBody nodeA,
                 PhysicsRigidBody nodeB,
                 Vector3f pivotA,
                 Vector3f pivotB)
パラメータ:
pivotA - local translation of the joint connection point in node A
pivotB - local translation of the joint connection point in node B

ConeJoint

public ConeJoint(PhysicsRigidBody nodeA,
                 PhysicsRigidBody nodeB,
                 Vector3f pivotA,
                 Vector3f pivotB,
                 Matrix3f rotA,
                 Matrix3f rotB)
パラメータ:
pivotA - local translation of the joint connection point in node A
pivotB - local translation of the joint connection point in node B
メソッドの詳細

setLimit

public void setLimit(float swingSpan1,
                     float swingSpan2,
                     float twistSpan)

setAngularOnly

public void setAngularOnly(boolean value)

write

public void write(JmeExporter ex)
           throws java.io.IOException
定義:
インタフェース Savable 内の write
オーバーライド:
クラス PhysicsJoint 内の write
例外:
java.io.IOException

read

public void read(JmeImporter im)
          throws java.io.IOException
定義:
インタフェース Savable 内の read
オーバーライド:
クラス PhysicsJoint 内の read
例外:
java.io.IOException