UNPKG

hytopia

Version:

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

17 lines (11 loc) 594 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.UPDATE\_ROTATION"](./server.entityeventpayloads._entity.update_rotation_.md) ## EntityEventPayloads."ENTITY.UPDATE\_ROTATION" property Emitted when the rotation of the entity is updated at the end of the tick, either directly or by physics. **Signature:** ```typescript [EntityEvent.UPDATE_ROTATION]: { entity: Entity; rotation: QuaternionLike; }; ```