Interface IMouseJoint2D
Interface for a Mouse Joint 2D physics.
Inherited Members
Namespace: Evergine.Common.Physics2D
Assembly: Evergine.Common.dll
Syntax
public interface IMouseJoint2D : IJoint2D
Properties
DampingRatio
Gets or sets the damping ratio.
Declaration
float DampingRatio { get; set; }
Property Value
Type | Description |
---|---|
float |
FrequencyHz
Gets or sets the frequency in Hz.
Declaration
float FrequencyHz { get; set; }
Property Value
Type | Description |
---|---|
float |
MaxForce
Gets or sets 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
float MaxForce { get; set; }
Property Value
Type | Description |
---|---|
float |
Target
Gets or sets the initial world target point. This is assumed to coincide with the body anchor initially.
Declaration
Vector2 Target { get; set; }
Property Value
Type | Description |
---|---|
Vector2 |