b2MouseJointDef Class
Mouse joint definition. This requires a world target point, tuning parameters, and the time step.
Constructor
b2MouseJointDef
()
Item Index
Properties
Properties
frequencyHz
Float
public
The response speed.
Default: 5.0
maxForce
Float
public
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).
Default: 0.0
target
B2Vec2
public
The initial world target point. This is assumed to coincide with the body anchor initially.