Свойство | Тип | Описание | |
---|---|---|---|
_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 | ||
_s1 | float | ||
_upperTranslation | float |
Метод | Описание | |
---|---|---|
EnableLimit ( bool flag ) : void |
Enable/disable the joint limit.
|
|
EnableMotor ( bool flag ) : void |
Enable/disable the joint motor.
|
|
GetJointSpeed ( ) : float |
Get the current joint translation speed, usually in meters per second.
|
|
GetJointTranslation ( ) : float |
Get the current joint translation, usually in meters.
|
|
GetLowerLimit ( ) : float |
Get the lower joint limit, usually in meters.
|
|
GetMotorForce ( ) : float |
Get the current motor force, usually in N.
|
|
GetMotorSpeed ( ) : float |
Get the motor speed, usually in meters per second.
|
|
GetReactionForce ( float inv_dt ) : |
||
GetReactionTorque ( float inv_dt ) : float | ||
GetUpperLimit ( ) : float |
Get the upper joint limit, usually in meters.
|
|
IsLimitEnabled ( ) : bool |
Is the joint limit enabled?
|
|
IsMotorEnabled ( ) : bool |
Is the joint motor enabled?
|
|
LineJoint ( |
||
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.
|
|
SetMotorSpeed ( float speed ) : void |
Set the motor speed, usually in meters per second.
|
Метод | Описание | |
---|---|---|
InitVelocityConstraints ( |
||
SolvePositionConstraints ( float baumgarte ) : bool | ||
SolveVelocityConstraints ( |
public GetReactionForce ( float inv_dt ) : |
||
inv_dt | float | |
Результат |
public GetReactionTorque ( float inv_dt ) : float | ||
inv_dt | float | |
Результат | float |
public LineJoint ( |
||
def | ||
Результат | System |
public SetLimits ( float lower, float upper ) : void | ||
lower | float | |
upper | float | |
Результат | void |
public SetMaxMotorForce ( float force ) : void | ||
force | float | |
Результат | void |
public SetMotorSpeed ( float speed ) : void | ||
speed | float | |
Результат | void |
public Vec2,Box2DX.Common _localAnchor1 | ||
Результат |
public Vec2,Box2DX.Common _localAnchor2 | ||
Результат |