Repository navigation
API Interface WaterSplashEvent
Defined in: src/engine/core/waterEvents.ts:18
What onWaterSplash passes: something fell into the water fast enough to splash. Visual feedback only (see the
hook): read it during the call; the object is reused.
readonly position: Vector3;Defined in: src/engine/core/waterEvents.ts:20
Where it went in, on the water (world space).
size: number;Defined in: src/engine/core/waterEvents.ts:24
The burst's scale: about 1 for a 1 m² body going in at 5 m/s; bigger and faster bodies go above 1.
speed: number;Defined in: src/engine/core/waterEvents.ts:22
How fast it was falling as it went in (m/s, downward; over 1.5).
surface: WaterEventSurface;Defined in: src/engine/core/waterEvents.ts:26
The water it fell into.
This wiki is generated from docs/wiki/ and the myco module's source on every push to master. Change pages there in a pull request: edits made here are not kept.
Basics
Gameplay
Rendering
Audio
- Playing sound
- Why is there no sound?
- Playlists
- Interactive music
- Sound generators
- Spatial audio
- Audio mixer
- Live mixing
- Loudness
- Audio profiler
- Audio takes
Reference