Interface IWheelJoint2D
Interface for a Wheel Joint 2D physics.
Inherited Members
Namespace: Evergine.Common.Physics2D
Assembly: Evergine.Common.dll
Syntax
public interface IWheelJoint2D : IJoint2D
Properties
EnableMotor
Gets or sets a value indicating whether the motor is enabled.
Declaration
bool EnableMotor { get; set; }
Property Value
Type | Description |
---|---|
bool |
JointTranslation
Gets the current joint translation, usually in meters.
Declaration
float JointTranslation { get; }
Property Value
Type | Description |
---|---|
float |
JointTranslationSpeed
Gets the current joint translation speed, usually in meters per second.
Declaration
float JointTranslationSpeed { get; }
Property Value
Type | Description |
---|---|
float |
MaxMotorTorque
Gets or sets the maximum motor torque used to achieve the desired motor speed. Usually in N-m.
Declaration
float MaxMotorTorque { get; set; }
Property Value
Type | Description |
---|---|
float |
MotorSpeed
Gets or sets the desired motor speed. Usually in radians per second.
Declaration
float MotorSpeed { get; set; }
Property Value
Type | Description |
---|---|
float |
MotorTorque
Gets the current motor torque given the inverse time step, usually in N-m.
Declaration
float MotorTorque { get; }
Property Value
Type | Description |
---|---|
float |
SpringDampingRatio
Gets or sets the damping ratio.
Declaration
float SpringDampingRatio { get; set; }
Property Value
Type | Description |
---|---|
float |
SpringFrequencyHz
Gets or sets the frequency in Hz.
Declaration
float SpringFrequencyHz { get; set; }
Property Value
Type | Description |
---|---|
float |