Repository navigation
API Interface PhysicsCollision
github-actions[bot] edited this page Dec 2, 2026
·
3 revisions
Defined in: src/engine/core/Component.ts:137
What both physics plugins' collision hooks receive (Collision2D and Collision have these and more).
Core names only the shared shape: physics lives in plugins (ADR 0135).
readonly collider: Component;Defined in: src/engine/core/Component.ts:139
The other collider.
readonly gameObject: GameObject;Defined in: src/engine/core/Component.ts:143
The other collider's owner node.
readonly otherCollider: Component;Defined in: src/engine/core/Component.ts:141
This side's collider.
readonly rigidbody: Component | null;Defined in: src/engine/core/Component.ts:144
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