C# Class Box2DX.Dynamics.MouseJointDef

Mouse joint definition. This requires a world target point, tuning parameters, and the time step.
Inheritance: JointDef
Datei anzeigen Open project: danielpcox/Crisis-at-Swiss-Station Class Usage Examples

Public Properties

Property Type Description
DampingRatio float
FrequencyHz float
MaxForce float
Target Box2DX.Common.Vec2

Public Methods

Method Description
MouseJointDef ( ) : System

Method Details

MouseJointDef() public method

public MouseJointDef ( ) : System
return System

Property Details

DampingRatio public_oe property

The damping ratio. 0 = no damping, 1 = critical damping.
public float DampingRatio
return float

FrequencyHz public_oe property

The response speed.
public float FrequencyHz
return float

MaxForce public_oe property

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).
public float MaxForce
return float

Target public_oe property

The initial world target point. This is assumed to coincide with the body anchor initially.
public Vec2,Box2DX.Common Target
return Box2DX.Common.Vec2