Search Results for

    Show / Hide Table of Contents

    Class JointDef2D

    Definition of a 2D Joint.

    Inheritance
    object
    JointDef2D
    JointDef2D<T>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.Common.Physics2D
    Assembly: Evergine.Common.dll
    Syntax
    public class JointDef2D

    Fields

    BodyA

    The first attached body.

    Declaration
    public IRigidBody2D BodyA
    Field Value
    Type Description
    IRigidBody2D

    BodyB

    The second attached body.

    Declaration
    public IRigidBody2D BodyB
    Field Value
    Type Description
    IRigidBody2D

    BreakPoint

    The amount of force needed to break the joint.

    Declaration
    public float BreakPoint
    Field Value
    Type Description
    float

    CollideConnected

    Set this flag to true if the attached bodies should collide.

    Declaration
    public bool CollideConnected
    Field Value
    Type Description
    bool

    IsActive

    The joint is active by default.

    Declaration
    public bool IsActive
    Field Value
    Type Description
    bool

    LocalAnchorA

    The local anchor point relative to bodyA's origin.

    Declaration
    public Vector2 LocalAnchorA
    Field Value
    Type Description
    Vector2

    LocalAnchorB

    The local anchor point relative to bodyB's origin.

    Declaration
    public Vector2 LocalAnchorB
    Field Value
    Type Description
    Vector2

    UserData

    Use this to attach application specific data to your joints.

    Declaration
    public object UserData
    Field Value
    Type Description
    object

    Extension Methods

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