Repository navigation
API Interface ColliderDesc
Defined in: src/plugins/physics/runtime/backend.ts:168
D extends DimensionTypes
readonly friction: number;Defined in: src/plugins/physics/runtime/backend.ts:175
readonly groups: number;Defined in: src/plugins/physics/runtime/backend.ts:178
Collision groups: layer membership in the high 16 bits, the layers it meets in the low 16 (physics/layers.ts).
readonly oneWay?:
| {
base: number;
top: number;
up: PhysicsVec2;
}
| null;Defined in: src/plugins/physics/runtime/backend.ts:180
2D, capability oneWayPlatforms: collide only with bodies coming down onto it from above top along up (base: its own height along up when made).
readonly parent: BackendBody<D> | null;Defined in: src/plugins/physics/runtime/backend.ts:173
The body carrying it (its mass comes from the body's settings, not the shape), or null for a static collider.
readonly pose: Pose<D>;Defined in: src/plugins/physics/runtime/backend.ts:171
Relative to parent, or in world space without one.
readonly restitution: number;Defined in: src/plugins/physics/runtime/backend.ts:176
readonly sensor: boolean;Defined in: src/plugins/physics/runtime/backend.ts:174
readonly shape: D["shape"];Defined in: src/plugins/physics/runtime/backend.ts:169
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