프로퍼티 | 타입 | 설명 | |
---|---|---|---|
_enableLimit | bool | ||
_enableMotor | bool | ||
_impulse | Vec3 | ||
_limitState | LimitState | ||
_localAnchor1 | Vec2 | ||
_localAnchor2 | Vec2 | ||
_lowerAngle | float | ||
_mass | Mat33 | ||
_maxMotorTorque | float | ||
_motorImpulse | float | ||
_motorMass | float | ||
_motorSpeed | float | ||
_referenceAngle | float | ||
_upperAngle | float |
메소드 | 설명 | |
---|---|---|
EnableLimit ( bool flag ) : void |
Enable/disable the joint limit.
|
|
EnableMotor ( bool flag ) : void |
Enable/disable the joint motor.
|
|
GetReactionForce ( float inv_dt ) : |
||
GetReactionTorque ( float inv_dt ) : float | ||
RevoluteJoint ( RevoluteJointDef def ) : System | ||
SetLimits ( float lower, float upper ) : void |
Set the joint limits in radians.
|
|
SetMaxMotorTorque ( float torque ) : void |
Set the maximum motor torque, usually in N-m.
|
메소드 | 설명 | |
---|---|---|
InitVelocityConstraints ( |
||
SolvePositionConstraints ( float baumgarte ) : bool | ||
SolveVelocityConstraints ( TimeStep step ) : void |
public GetReactionForce ( float inv_dt ) : |
||
inv_dt | float | |
리턴 |
public RevoluteJoint ( RevoluteJointDef def ) : System | ||
def | RevoluteJointDef | |
리턴 | System |
public SetLimits ( float lower, float upper ) : void | ||
lower | float | |
upper | float | |
리턴 | void |