Search Results for

    Show / Hide Table of Contents

    Class ConeTwistJoint3D

    This class represents a 3D physics joint and connects two entities together. All joints restrict some degrees of freedom, seeking a specific configuration.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    PrefabInstanceObject
    Component
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>
    ConeTwistJoint3D
    Implements
    IDependencyObject
    Inherited Members
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.breakpoint
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.joint
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.OnBroke
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.rigidBody
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.transform3D
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.connectedBody
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.isActive
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.BreakPoint
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.DebugDrawSize
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.ConnectedEntityPath
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.CollideConnected
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.AppliedImpulse
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.NeedsFeedback
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.JointFeedback
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.OverrideNumSolverIterations
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.OnActivated()
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.Start()
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.OnDeactivated()
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.OnDetach()
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.BodyAChanged()
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.BodyBChanged()
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.Dispose()
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.RefreshJointValue<V>(ref V, V)
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.CreateJoint(ConeTwistJointDef3D)
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.RefreshJoint()
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.InitJoint()
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.RemoveConnectedEntity()
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.CreateConnectedEntity()
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.FillJointDef(ConeTwistJointDef3D)
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.GetFrameZ(ref Vector3, ref Vector3, out Matrix4x4)
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.GetFrameX(ref Vector3, ref Vector3, out Matrix4x4)
    Component.Owner
    Component.Managers
    Component.ShouldBeActivated
    Component.Clone()
    Component.Attach(Entity)
    Component.OnLoaded()
    Component.OnAttached()
    Component.OnActivated()
    Component.Start()
    Component.OnDeactivated()
    Component.OnDetach()
    Component.OnDestroy()
    PrefabInstanceObject.PrefabSource
    PrefabInstanceObject.RefreshPrefab(Prefab)
    PrefabInstanceObject.PrefabElementId
    PrefabInstanceObject.IsPrefabInstance
    PrefabInstanceObject.IsMissingPrefabSource
    AttachableObject.AttachableStateChanged
    AttachableObject.IsEnabled
    AttachableObject.State
    AttachableObject.IsLoaded
    AttachableObject.IsAttached
    AttachableObject.IsActivated
    AttachableObject.IsStarted
    AttachableObject.IsDestroyed
    AttachableObject.Destroy()
    AttachableObject.DependencyBroken()
    DependencyObject.Dependencies
    DependencyObject.OnDependencyRemoved
    IdentifiableObject.Id
    IdentifiableObject.IdHasChanged(Guid)
    Namespace: Evergine.Framework.Physics3D
    Assembly: Evergine.Framework.dll
    Syntax
    public class ConeTwistJoint3D : Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>, IDependencyObject

    Constructors

    ConeTwistJoint3D()

    Initializes a new instance of the ConeTwistJoint3D class.

    Declaration
    public ConeTwistJoint3D()

    Properties

    Anchor

    Gets or sets the local anchor point relative to the origin of bodyA.

    Declaration
    public Vector3 Anchor { get; set; }
    Property Value
    Type Description
    Vector3

    AngularOnly

    Gets or sets a value indicating whether to apply Angular only.

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

    AutoConfigureConnected

    Gets or sets a value indicating whether the condition is met.

    Declaration
    [RenderProperty(Tag = 1)]
    public bool AutoConfigureConnected { get; set; }
    Property Value
    Type Description
    bool

    Axis

    Gets or sets the hinge axis.

    Declaration
    public Vector3 Axis { get; set; }
    Property Value
    Type Description
    Vector3

    ConeTwistSettings

    Gets or sets the cone twist limits.

    Declaration
    [RenderProperty(ConverterType = typeof(Vector3RadianToDegreeConverter))]
    public Vector3 ConeTwistSettings { get; set; }
    Property Value
    Type Description
    Vector3

    ConnectedAnchor

    Gets or sets the local anchor point relative to the origin of bodyA.

    Declaration
    [RenderProperty(AttachToTag = 1, AttachToValue = false)]
    public Vector3 ConnectedAnchor { get; set; }
    Property Value
    Type Description
    Vector3

    ConnectedAxis

    Gets or sets the local anchor point relative to the origin of bodyA.

    Declaration
    [RenderProperty(AttachToTag = 1, AttachToValue = false)]
    public Vector3 ConnectedAxis { get; set; }
    Property Value
    Type Description
    Vector3

    Damping

    Gets or sets the damping value.

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

    FixThresh

    Gets or sets the fix threshold.

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

    LimitBiasFactor

    Gets or sets the strength with which the constraint resists the zeroth order.

    Declaration
    public float LimitBiasFactor { get; set; }
    Property Value
    Type Description
    float

    LimitRelaxationFactor

    Gets or sets the limit relaxation factor. The lower the value, the less the constraint will resist velocities that violate the angular limits.

    Declaration
    public float LimitRelaxationFactor { get; set; }
    Property Value
    Type Description
    float

    LimitSoftness

    Gets or sets the percentage of limits where movement is free.

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

    MaxMotorImpulse

    Gets or sets the lower limit.

    Declaration
    [RenderProperty(AttachToValue = true, AttachToTag = 2)]
    public float MaxMotorImpulse { get; set; }
    Property Value
    Type Description
    float

    MotorTarget

    Gets or sets the motor's target velocity.

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

    MotorTargetRotation

    Gets or sets the motor's target velocity.

    Declaration
    [RenderProperty(typeof(Vector3RadianToDegreeConverter), AttachToValue = true, AttachToTag = 2)]
    public Vector3 MotorTargetRotation { get; set; }
    Property Value
    Type Description
    Vector3

    UseMotor

    Gets or sets a value indicating whether the joint has the motor enabled.

    Declaration
    [RenderProperty(Tag = 2)]
    public bool UseMotor { get; set; }
    Property Value
    Type Description
    bool

    Methods

    BodyAChanged()

    Body A has been changed.

    Declaration
    protected override void BodyAChanged()
    Overrides
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.BodyAChanged()

    BodyBChanged()

    Body B has been changed.

    Declaration
    protected override void BodyBChanged()
    Overrides
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.BodyBChanged()

    FillJointDef(ConeTwistJointDef3D)

    Fills joint definition values.

    Declaration
    protected override bool FillJointDef(ConeTwistJointDef3D jointDef)
    Parameters
    Type Name Description
    ConeTwistJointDef3D jointDef

    The generated joint values.

    Returns
    Type Description
    bool

    The result.

    Overrides
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.FillJointDef(ConeTwistJointDef3D)

    InitJoint()

    Initializes the joint.

    Declaration
    protected override void InitJoint()
    Overrides
    Joint3D<IConeTwistJoint3D, ConeTwistJointDef3D>.InitJoint()

    Implements

    IDependencyObject

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX