Search Results for

    Show / Hide Table of Contents

    Class GenericAbstract6DofJoint3D<T, K>

    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<T, K>
    GenericAbstract6DofJoint3D<T, K>
    Generic6DofJoint3D
    SpringJoint3D
    Implements
    IDependencyObject
    Inherited Members
    Joint3D<T, K>.breakpoint
    Joint3D<T, K>.joint
    Joint3D<T, K>.OnBroke
    Joint3D<T, K>.rigidBody
    Joint3D<T, K>.transform3D
    Joint3D<T, K>.connectedBody
    Joint3D<T, K>.isActive
    Joint3D<T, K>.BreakPoint
    Joint3D<T, K>.DebugDrawSize
    Joint3D<T, K>.ConnectedEntityPath
    Joint3D<T, K>.CollideConnected
    Joint3D<T, K>.AppliedImpulse
    Joint3D<T, K>.NeedsFeedback
    Joint3D<T, K>.JointFeedback
    Joint3D<T, K>.OverrideNumSolverIterations
    Joint3D<T, K>.OnActivated()
    Joint3D<T, K>.Start()
    Joint3D<T, K>.OnDeactivated()
    Joint3D<T, K>.OnDetach()
    Joint3D<T, K>.BodyAChanged()
    Joint3D<T, K>.BodyBChanged()
    Joint3D<T, K>.Dispose()
    Joint3D<T, K>.RefreshJointValue<V>(ref V, V)
    Joint3D<T, K>.CreateJoint(K)
    Joint3D<T, K>.RefreshJoint()
    Joint3D<T, K>.InitJoint()
    Joint3D<T, K>.RemoveConnectedEntity()
    Joint3D<T, K>.CreateConnectedEntity()
    Joint3D<T, K>.FillJointDef(K)
    Joint3D<T, K>.GetFrameZ(ref Vector3, ref Vector3, out Matrix4x4)
    Joint3D<T, K>.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 abstract class GenericAbstract6DofJoint3D<T, K> : Joint3D<T, K>, IDependencyObject where T : IGeneric6DofJoint3D where K : GenericAbstract6DofJointDef3D<T>, new()
    Type Parameters
    Name Description
    T

    The joint interface.

    K

    The definition type.

    Constructors

    GenericAbstract6DofJoint3D()

    Initializes a new instance of the GenericAbstract6DofJoint3D<T, K> class.

    Declaration
    public GenericAbstract6DofJoint3D()

    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

    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

    ConnectedAnchor

    Gets or sets the local anchor point relative to body A's origin.

    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

    LowerAngularLimit

    Gets or sets the lower limit.

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

    LowerLinearLimit

    Gets or sets the lower limit.

    Declaration
    [RenderProperty(AttachToValue = true, AttachToTag = 3)]
    public Vector3 LowerLinearLimit { get; set; }
    Property Value
    Type Description
    Vector3

    UpperAngularLimit

    Gets or sets the lower limit.

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

    UpperLinearLimit

    Gets or sets the lower limit.

    Declaration
    [RenderProperty(AttachToValue = true, AttachToTag = 3)]
    public Vector3 UpperLinearLimit { get; set; }
    Property Value
    Type Description
    Vector3

    UseAngularLimit

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

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

    UseLinearLimit

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

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

    Methods

    BodyAChanged()

    Body A has been changed.

    Declaration
    protected override void BodyAChanged()
    Overrides
    Joint3D<T, K>.BodyAChanged()

    BodyBChanged()

    Body B has been changed.

    Declaration
    protected override void BodyBChanged()
    Overrides
    Joint3D<T, K>.BodyBChanged()

    FillJointDef(K)

    Fills joint definition values.

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

    The generated joint values.

    Returns
    Type Description
    bool

    The result.

    Overrides
    Joint3D<T, K>.FillJointDef(K)

    InitJoint()

    Initializes the joint.

    Declaration
    protected override void InitJoint()
    Overrides
    Joint3D<T, K>.InitJoint()

    Implements

    IDependencyObject

    Extension Methods

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