Table of Contents

Interface IMotor

Namespace
Stride.BepuPhysics.Constraints
Assembly
Stride.BepuPhysics.dll

Motors try to reach a given relative velocity between the connected bodies

public interface IMotor

Properties

MotorDamping

Mass-scaled damping constant, How rigid the constraint is.

float MotorDamping { get; set; }

Property Value

float

Remarks

If you want to simulate a viscous damping coefficient of D with an object of mass M, set this damping value to D / M.

MotorMaximumForce

Maximum amount of force the motor can apply in one unit of time.

float MotorMaximumForce { get; set; }

Property Value

float

MotorSoftness

Gets or sets how soft the constraint is. Values range from 0 to infinity. Softness is inverse damping; 0 is perfectly rigid, 1 is very soft, float.MaxValue is effectively nonexistent.

float MotorSoftness { get; set; }

Property Value

float