applyLinearImpulse

open override fun applyLinearImpulse(impulse: Vec2, contactPoint: Vec2)

Applies impulse to a point relative to the body's center of mass.

Parameters

impulse

Magnitude of impulse vector.

contactPoint

The point to apply the force to relative to the body in object space.


open override fun applyLinearImpulse(impulse: Vec2)

Applies impulse to body's center of mass.

Parameters

impulse

Magnitude of impulse vector.