DecayKnowledgebase
functiongenerated

Physics3d.apply_impulse_at

Applies a finite world-space Vec3 impulse through a finite world-space Vec3 point on an active dynamic body: off its centre of mass it turns the body as well as pushing it, the way a thruster mounted at one end of a ship does. Queues before synchronization like apply_impulse and resolves in call order; invalid input or body kind fails before mutation.

Signature

Physics3d.apply_impulse_at(entity: Entity, impulse: Vec3, point: Vec3) -> unit

Member of Physics3d

Related types

Entity

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