DecayKnowledgebase
functiongenerated

Physics.apply_impulse_at_point

Applies a world-space Vec2 impulse at a world-space Vec2 point, translating and turning a dynamic body. All motion controls support the spawn window.

Signature

Physics.apply_impulse_at_point(entity: Entity, impulse: Vec2, point: Vec2) -> unit

Member of Physics

Related types

Entity

Source
docs/generated/decay-api.json
Schema
v1
Engine version
0.1.0
Source commit
909aca81368b