RotationalLimitMotor Class
Namespace: Stride.PhysicsAssembly: Stride.Physics.dll
public class RotationalLimitMotor
Name | Description | |
---|---|---|
Constructors | ||
RotationalLimitMotor(RotationalLimitMotor) | Initializes a new instance of the RotationalLimitMotor class. |
|
Properties | ||
AccumulatedImpulse | Gets or sets the accumulated impulse. |
|
Bounce | Gets or sets the bounce. |
|
CurrentLimit | Gets or sets the current limit. |
|
CurrentLimitError | Gets or sets the current limit error. |
|
CurrentPosition | Gets or sets the current position. |
|
Damping | Gets or sets the damping. |
|
EnableMotor | Gets or sets a value indicating whether to enable the motor. |
|
HiLimit | Gets or sets the hi limit. |
|
IsLimited | Gets a value indicating whether this instance is limited. |
|
LimitSoftness | Gets or sets the limit softness. |
|
LoLimit | Gets or sets the lo limit. |
|
MaxLimitForce | Gets or sets the maximum limit force. |
|
MaxMotorForce | Gets or sets the maximum motor force. |
|
NormalCfm | Gets or sets the normal CFM. |
|
StopCfm | Gets or sets the stop CFM. |
|
StopErp | Gets or sets the stop erp. |
|
TargetVelocity | Gets or sets the target velocity. |
|
Methods | ||
Dispose() | Releases unmanaged and - optionally - managed resources. |
Constructors
RotationalLimitMotor(RotationalLimitMotor)
Initializes a new instance of the RotationalLimitMotor class.
public RotationalLimitMotor(RotationalLimitMotor motor)
Parameters
Type | Name | Description |
---|---|---|
BulletSharp.RotationalLimitMotor | motor | The motor. |
Properties
AccumulatedImpulse
Gets or sets the accumulated impulse.
public float AccumulatedImpulse { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The accumulated impulse. |
Bounce
Gets or sets the bounce.
public float Bounce { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The bounce. |
CurrentLimit
Gets or sets the current limit.
public int CurrentLimit { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The current limit. |
CurrentLimitError
Gets or sets the current limit error.
public float CurrentLimitError { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The current limit error. |
CurrentPosition
Gets or sets the current position.
public float CurrentPosition { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The current position. |
Damping
Gets or sets the damping.
public float Damping { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The damping. |
EnableMotor
Gets or sets a value indicating whether to enable the motor.
public bool EnableMotor { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
HiLimit
Gets or sets the hi limit.
public float HiLimit { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The hi limit. |
IsLimited
Gets a value indicating whether this instance is limited.
public bool IsLimited { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
LimitSoftness
Gets or sets the limit softness.
public float LimitSoftness { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The limit softness. |
LoLimit
Gets or sets the lo limit.
public float LoLimit { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The lo limit. |
MaxLimitForce
Gets or sets the maximum limit force.
public float MaxLimitForce { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The maximum limit force. |
MaxMotorForce
Gets or sets the maximum motor force.
public float MaxMotorForce { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The maximum motor force. |
NormalCfm
Gets or sets the normal CFM.
public float NormalCfm { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The normal CFM. |
StopCfm
Gets or sets the stop CFM.
public float StopCfm { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The stop CFM. |
StopErp
Gets or sets the stop erp.
public float StopErp { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The stop erp. |
TargetVelocity
Gets or sets the target velocity.
public float TargetVelocity { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The target velocity. |
Methods
Dispose()
Releases unmanaged and - optionally - managed resources.
public void Dispose()