
Public Attributes | |
| b2Vec2 | target |
| The initial world target point. | |
| float32 | maxForce |
| The maximum constraint force that can be exerted to move the candidate body. | |
| float32 | frequencyHz |
| The response speed. | |
| float32 | dampingRatio |
| The damping ratio. 0 = no damping, 1 = critical damping. | |
| float32 | timeStep |
| The time step used in the simulation. | |
This requires a world target point, tuning parameters, and the time step.
The initial world target point.
This is assumed to coincide with the body anchor initially.
| float32 b2MouseJointDef::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).
1.5.4