Class MotorDef
Motor properties definition.
Inherited Members
Namespace: Evergine.Common.Physics2D
Assembly: Evergine.Common.dll
Syntax
public class MotorDef
Fields
EnableMotor
A flag to enable the joint motor.
Declaration
public bool EnableMotor
Field Value
Type | Description |
---|---|
bool |
MaxMotorTorque
The maximum motor torque used to achieve the desired motor speed. Usually in N-m.
Declaration
public float MaxMotorTorque
Field Value
Type | Description |
---|---|
float |
MotorSpeed
The desired motor speed. Usually in radians per second.
Declaration
public float MotorSpeed
Field Value
Type | Description |
---|---|
float |