Свойство | Type | Description | |
---|---|---|---|
_K | |||
_a1 | float | ||
_axis | |||
_enableLimit | bool | ||
_enableMotor | bool | ||
_impulse | |||
_limitState | LimitState | ||
_localAnchor1 | |||
_localAnchor2 | |||
_localXAxis1 | |||
_localYAxis1 | |||
_lowerTranslation | float | ||
_maxMotorForce | float | ||
_motorImpulse | float | ||
_motorMass | float | ||
_motorSpeed | float | ||
_refAngle | float | ||
_s1 | float | ||
_upperTranslation | float |
Méthode | Description | |
---|---|---|
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 | ||
PrismaticJoint ( |
||
SetLimits ( float lower, float upper ) : void |
Set the joint limits, usually in meters.
|
|
SetMaxMotorForce ( float force ) : void |
Set the maximum motor force, usually in N.
|
Méthode | Description | |
---|---|---|
InitVelocityConstraints ( |
||
SolvePositionConstraints ( float baumgarte ) : bool | ||
SolveVelocityConstraints ( |
public GetReactionForce ( float inv_dt ) : |
||
inv_dt | float | |
Résultat |
public GetReactionTorque ( float inv_dt ) : float | ||
inv_dt | float | |
Résultat | float |
public PrismaticJoint ( |
||
def | ||
Résultat | System |
public SetLimits ( float lower, float upper ) : void | ||
lower | float | |
upper | float | |
Résultat | void |
public SetMaxMotorForce ( float force ) : void | ||
force | float | |
Résultat | void |
public Vec2,Box2DX.Common _localAnchor1 | ||
Résultat |
public Vec2,Box2DX.Common _localAnchor2 | ||
Résultat |