MouseJoint

API reference for MouseJoint. Access via the 'physics' submodule.

Experimental API:

The physics submodule is a VERY experimental and new API that is highly susceptible to breaking changes in the future.

Inherits from Joint.

Properties


NameDescriptionType
max_forceThe maximum constraint force.float
spring_damping_ratioThe spring damping ratio.float
spring_hzThe spring frequency in Hertz.float
targetThe target point in world coordinates.Vec2