Search Results for

    Show / Hide Table of Contents

    Class MouseJointDef2D

    Definition of a 2D Distance Joint.

    Inheritance
    object
    JointDef2D
    JointDef2D<IMouseJoint2D>
    MouseJointDef2D
    Inherited Members
    JointDef2D.BodyA
    JointDef2D.BodyB
    JointDef2D.LocalAnchorA
    JointDef2D.LocalAnchorB
    JointDef2D.CollideConnected
    JointDef2D.UserData
    JointDef2D.IsActive
    JointDef2D.BreakPoint
    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 MouseJointDef2D : JointDef2D<IMouseJoint2D>

    Fields

    DampingRatio

    The damping ratio. 0 = no damping, 1 = critical damping.

    Declaration
    public float DampingRatio
    Field Value
    Type Description
    float

    FrequencyHz

    The response speed.

    Declaration
    public float FrequencyHz
    Field Value
    Type Description
    float

    MaxForce

    The maximum constraint force that can be exerted to move the candidate body. Usually you will express as some multiple of the weight (multiplier * mass * gravity).

    Declaration
    public float MaxForce
    Field Value
    Type Description
    float

    Target

    The initial world target point. This is assumed to coincide with the body anchor initially.

    Declaration
    public Vector2 Target
    Field Value
    Type Description
    Vector2

    Extension Methods

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