Class MouseJointDef2D
Definition of a 2D Distance Joint.
Inherited Members
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 |