UNPKG

hytopia

Version:

The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.

20 lines (14 loc) 635 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [EntityEventPayloads](./server.entityeventpayloads.md) &gt; ["ENTITY.ENTITY\_COLLISION"](./server.entityeventpayloads._entity.entity_collision_.md) ## EntityEventPayloads."ENTITY.ENTITY\_COLLISION" property Emitted when an entity collides with another entity. **Signature:** ```typescript [EntityEvent.ENTITY_COLLISION]: { entity: Entity; otherEntity: Entity; started: boolean; colliderHandleA: number; colliderHandleB: number; }; ```