Search Results for

    Show / Hide Table of Contents

    Interface IConeTwistJoint3D

    Interface for a Cone Twist 3D joint physics.

    Inherited Members
    IJoint3D.OnBroke
    IJoint3D.InternalJoint
    IJoint3D.BodyA
    IJoint3D.BodyB
    IJoint3D.AppliedImpulse
    IJoint3D.DebugDrawSize
    IJoint3D.NeedsFeedback
    IJoint3D.JointFeedback
    IJoint3D.OverrideNumSolverIterations
    IJoint3D.IsEnabled
    IJoint3D.BreakingImpulseThreshold
    IDisposable.Dispose()
    Namespace: Evergine.Framework.Physics3D
    Assembly: Evergine.Framework.dll
    Syntax
    public interface IConeTwistJoint3D : IJoint3D, IDisposable

    Properties

    AFrame

    Gets the Reference frame on Body A.

    Declaration
    Matrix4x4 AFrame { get; }
    Property Value
    Type Description
    Matrix4x4

    AngularOnly

    Gets or sets a value indicating whether this apply angular only.

    Declaration
    bool AngularOnly { get; set; }
    Property Value
    Type Description
    bool

    BFrame

    Gets the Reference frame on Body B.

    Declaration
    Matrix4x4 BFrame { get; }
    Property Value
    Type Description
    Matrix4x4

    Damping

    Gets or sets the damping value.

    Declaration
    float Damping { get; set; }
    Property Value
    Type Description
    float

    FixThresh

    Gets or sets the fix thresh.

    Declaration
    float FixThresh { get; set; }
    Property Value
    Type Description
    float

    Flags

    Gets the hinge flags.

    Declaration
    int Flags { get; }
    Property Value
    Type Description
    int

    FrameOffsetA

    Gets the frame offset for body A.

    Declaration
    Matrix4x4 FrameOffsetA { get; }
    Property Value
    Type Description
    Matrix4x4

    FrameOffsetB

    Gets the frame offset for body B.

    Declaration
    Matrix4x4 FrameOffsetB { get; }
    Property Value
    Type Description
    Matrix4x4

    IsMaxMotorImpulseNormalized

    Gets a value indicating whether this motor impulse is normalized.

    Declaration
    bool IsMaxMotorImpulseNormalized { get; }
    Property Value
    Type Description
    bool

    IsMotorEnabled

    Gets or sets a value indicating whether this motor is enabled.

    Declaration
    bool IsMotorEnabled { get; set; }
    Property Value
    Type Description
    bool

    IsPastSwingLimit

    Gets a value indicating whether the swing limit is past.

    Declaration
    bool IsPastSwingLimit { get; }
    Property Value
    Type Description
    bool

    LimitSoftness

    Gets the limit softness.

    Declaration
    float LimitSoftness { get; }
    Property Value
    Type Description
    float

    MaxMotorImpulse

    Gets or sets the max motor impulse.

    Declaration
    float MaxMotorImpulse { get; set; }
    Property Value
    Type Description
    float

    MotorTarget

    Gets or sets the motor target.

    Declaration
    Quaternion MotorTarget { get; set; }
    Property Value
    Type Description
    Quaternion

    RelaxationFactor

    Gets the relaxation factor.

    Declaration
    float RelaxationFactor { get; }
    Property Value
    Type Description
    float

    SolveSwingLimit

    Gets the swing solve limit.

    Declaration
    int SolveSwingLimit { get; }
    Property Value
    Type Description
    int

    SolveTwistLimit

    Gets the twist solve limit.

    Declaration
    int SolveTwistLimit { get; }
    Property Value
    Type Description
    int

    SwingSpan1

    Gets the swing span 1.

    Declaration
    float SwingSpan1 { get; }
    Property Value
    Type Description
    float

    SwingSpan2

    Gets the swing span 2.

    Declaration
    float SwingSpan2 { get; }
    Property Value
    Type Description
    float

    TwistLimitSign

    Gets or sets sign of twist limit.

    Declaration
    float TwistLimitSign { get; set; }
    Property Value
    Type Description
    float

    TwistSpan

    Gets the twist span.

    Declaration
    float TwistSpan { get; }
    Property Value
    Type Description
    float

    Methods

    SetFrames(Matrix4x4, Matrix4x4)

    Set frames.

    Declaration
    void SetFrames(Matrix4x4 frameA, Matrix4x4 frameB)
    Parameters
    Type Name Description
    Matrix4x4 frameA

    The frame A.

    Matrix4x4 frameB

    The frame B.

    SetLimit(float, float, float, float, float, float)

    Set limits.

    Declaration
    void SetLimit(float swingSpan1, float swingSpan2, float twistSpan, float softness = 1, float biasFactor = 0.3, float relaxationFactor = 1)
    Parameters
    Type Name Description
    float swingSpan1

    The swing span 1.

    float swingSpan2

    The swing span 2.

    float twistSpan

    The twist span.

    float softness

    How much the hinge rotates for a given force.

    float biasFactor

    offset for the relaxed rotation of the hinge.

    float relaxationFactor

    How much force is applied internally to bring the hinge in its central rotation.

    SetMaxMotorImpulseNormalized(float)

    Sets the max motor impulse normalized.

    Declaration
    void SetMaxMotorImpulseNormalized(float impulse)
    Parameters
    Type Name Description
    float impulse

    The impulse.

    SetMotorTargetInConstraintSpace(Quaternion)

    Set the motor target in constraint space.

    Declaration
    void SetMotorTargetInConstraintSpace(Quaternion target)
    Parameters
    Type Name Description
    Quaternion target

    The target orientation.

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX