brutal/Brutal.Jolt/Generated/Enums/MotorState.gen.cs
Rian Drake b578433e37 first
2026-10-15 17:10:50 +13:00

71 lines
2.7 KiB
C#

// <auto-generated/>
// Generated by Brutal.Jolt.Generate; do not edit by hand.
#nullable enable
namespace Brutal.JoltApi
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/MotorSettings.h#L16">Jolt/Physics/Constraints/MotorSettings.h:16</see>
/// <br/>
/// <c>enum class EMotorState</c>
/// </para>
/// </summary>
public enum MotorState : int
{
/// <summary>
/// <para>
/// Motor is off
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/MotorSettings.h#L18">Jolt/Physics/Constraints/MotorSettings.h:18</see>
/// <br/>
/// <c>Off</c>
/// </para>
/// </summary>
Off,
/// <summary>
/// <para>
/// Motor will drive to target velocity limited only by max force/torque that the motor can apply
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/MotorSettings.h#L19">Jolt/Physics/Constraints/MotorSettings.h:19</see>
/// <br/>
/// <c>Velocity</c>
/// </para>
/// </summary>
Velocity,
/// <summary>
/// <para>
/// Motor will drive to target position using: force = stiffness * (target_position - current_position) -
/// damping * current_velocity
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/MotorSettings.h#L20">Jolt/Physics/Constraints/MotorSettings.h:20</see>
/// <br/>
/// <c>Position</c>
/// </para>
/// </summary>
Position,
/// <summary>
/// <para>
/// Motor will drive both to target position and velocity using: force = stiffness * (target_position -
/// current_position) + damping * (target_velocity - current_velocity)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/MotorSettings.h#L21">Jolt/Physics/Constraints/MotorSettings.h:21</see>
/// <br/>
/// <c>PositionAndVelocity</c>
/// </para>
/// </summary>
PositionAndVelocity,
}
}