Struct ServoSettings
- Namespace
- BepuPhysics.Constraints
- Assembly
- BepuPhysics.dll
public struct ServoSettings
- Inherited Members
Constructors
ServoSettings(float, float, float)
public ServoSettings(float maximumSpeed, float baseSpeed, float maximumForce)
Parameters
Fields
BaseSpeed
public float BaseSpeed
Field Value
MaximumForce
public float MaximumForce
Field Value
MaximumSpeed
public float MaximumSpeed
Field Value
Properties
Default
Gets settings representing a servo with unlimited force, speed, and no base speed.
public static ServoSettings Default { get; }
Property Value
Methods
Validate(in ServoSettings)
Checks servo settings to ensure valid values.
public static bool Validate(in ServoSettings settings)
Parameters
settings
ServoSettingsSettings to check.
Returns
- bool
True if the settings contain valid values, false otherwise.