mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
49 lines
1.9 KiB
C#
49 lines
1.9 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
|
#nullable enable
|
|
|
|
namespace Brutal.JoltApi
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// Certain constraints support setting them up in local or world space. This governs what is used.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/Constraint.h#L57">Jolt/Physics/Constraints/Constraint.h:57</see>
|
|
/// <br/>
|
|
/// <c>enum class EConstraintSpace</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public enum ConstraintSpace : int
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// All constraint properties are specified in local space to center of mass of the bodies that are being
|
|
/// constrained (so e.g. 'constraint position 1' will be local to body 1 COM, 'constraint position 2' will
|
|
/// be local to body 2 COM). Note that this means you need to subtract Shape::GetCenterOfMass() from
|
|
/// positions!
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/Constraint.h#L59">Jolt/Physics/Constraints/Constraint.h:59</see>
|
|
/// <br/>
|
|
/// <c>LocalToBodyCOM</c>
|
|
/// </para>
|
|
/// </summary>
|
|
LocalToBodyCOM,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// All constraint properties are specified in world space
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/Constraint.h#L60">Jolt/Physics/Constraints/Constraint.h:60</see>
|
|
/// <br/>
|
|
/// <c>WorldSpace</c>
|
|
/// </para>
|
|
/// </summary>
|
|
WorldSpace,
|
|
}
|
|
}
|