com.jme3.bullet.joints
クラス Point2PointJoint

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

public class Point2PointJoint
extends PhysicsJoint

From bullet manual:
Point to point constraint, also known as ball socket joint limits the translation so that the local pivot points of 2 rigidbodies match in worldspace. A chain of rigidbodies can be connected using this constraint.


コンストラクタの概要
Point2PointJoint()
           
Point2PointJoint(PhysicsRigidBody nodeA, PhysicsRigidBody nodeB, Vector3f pivotA, Vector3f pivotB)
           
 
メソッドの概要
 float getDamping()
           
 float getImpulseClamp()
           
 float getTau()
           
 void read(JmeImporter im)
           
 void setDamping(float value)
           
 void setImpulseClamp(float value)
           
 void setTau(float value)
           
 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
 

コンストラクタの詳細

Point2PointJoint

public Point2PointJoint()

Point2PointJoint

public Point2PointJoint(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
メソッドの詳細

setDamping

public void setDamping(float value)

setImpulseClamp

public void setImpulseClamp(float value)

setTau

public void setTau(float value)

getDamping

public float getDamping()

getImpulseClamp

public float getImpulseClamp()

getTau

public float getTau()

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