Table of Contents

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

maximumSpeed float
baseSpeed float
maximumForce float

Fields

BaseSpeed

public float BaseSpeed

Field Value

float

MaximumForce

public float MaximumForce

Field Value

float

MaximumSpeed

public float MaximumSpeed

Field Value

float

Properties

Default

Gets settings representing a servo with unlimited force, speed, and no base speed.

public static ServoSettings Default { get; }

Property Value

ServoSettings

Methods

Validate(in ServoSettings)

Checks servo settings to ensure valid values.

public static bool Validate(in ServoSettings settings)

Parameters

settings ServoSettings

Settings to check.

Returns

bool

True if the settings contain valid values, false otherwise.