functiongenerated
Physics.apply_torque
Adds torque for the next fixed step, then clears it. Positive turns counterclockwise; requires a dynamic body.
Signature
Physics.apply_torque(entity: Entity, torque: number) -> unitMember of Physics
Related types
- Source
- docs/generated/decay-api.json
- Schema
- v1
- Engine version
- 0.1.0
- Source commit
909aca81368b