hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
20 lines (14 loc) • 639 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [SimulationEventPayloads](./server.simulationeventpayloads.md) > ["SIMULATION.DEBUG\_RAYCAST"](./server.simulationeventpayloads._simulation.debug_raycast_.md)
## SimulationEventPayloads."SIMULATION.DEBUG\_RAYCAST" property
Emitted when a debug raycast is performed.
**Signature:**
```typescript
[SimulationEvent.DEBUG_RAYCAST]: {
simulation: Simulation;
origin: Vector3Like;
direction: Vector3Like;
length: number;
hit: boolean;
};
```