Skip to content

1681-engine / index / PhysicsEvents

Interface: PhysicsEvents ​

Defined in: src/physics/types.ts:101

Properties ​

begin ​

ts
begin: ContactInfo;

Defined in: src/physics/types.ts:103

Two bodies started touching (or a sensor started overlapping). Emitted after the step.


end ​

ts
end: ContactInfo;

Defined in: src/physics/types.ts:105

Two bodies stopped touching, or one of them was removed. Emitted after the step.

Released under the MIT License.