Interface IServo
- Namespace
- Stride.BepuPhysics.Constraints
- Assembly
- Stride.BepuPhysics.dll
Servos change velocity of the connected bodies to achieve a position or orientation goal
public interface IServo
Properties
ServoBaseSpeed
Minimum speed that the constraint will try to use to move towards the target. If the speed implied by the spring configuration is higher than this, the servo will attempt to use the higher speed. Will be clamped by the MaximumSpeed.
float ServoBaseSpeed { get; set; }
Property Value
ServoMaximumForce
The maximum force that the constraint can apply to move towards the target.
float ServoMaximumForce { get; set; }
Property Value
Remarks
This value is specified in terms of force: a change in momentum over time. It is approximated as a maximum impulse (an instantaneous change in momentum) on a per-substep basis. In other words, for a given velocity iteration, the constraint's impulse can be no larger than MaximumForce * dt where dt is the substep duration.
ServoMaximumSpeed
Maximum speed that the constraint can try to use to move towards the target.
float ServoMaximumSpeed { get; set; }