functiongenerated
Physics.apply_force
Adds a world-space Vec2 force for the next fixed step, then clears it. Repeated calls add; requires a dynamic body.
Signature
Physics.apply_force(entity: Entity, force: Vec2) -> unitMember of Physics
Related types
- Source
- docs/generated/decay-api.json
- Schema
- v1
- Engine version
- 0.1.0
- Source commit
909aca81368b