Repository navigation
API Interface JointDesc
Defined in: src/plugins/physics/runtime/backend.ts:204
D extends DimensionTypes
readonly anchor1: D["vec"];Defined in: src/plugins/physics/runtime/backend.ts:209
The joint's anchor in each body's frame.
readonly anchor2: D["vec"];Defined in: src/plugins/physics/runtime/backend.ts:210
readonly axis?: D["vec"];Defined in: src/plugins/physics/runtime/backend.ts:215
2D prismatic joints: the axis in body1's frame.
readonly body1: BackendBody<D>;Defined in: src/plugins/physics/runtime/backend.ts:206
readonly body2: BackendBody<D>;Defined in: src/plugins/physics/runtime/backend.ts:207
readonly contacts: boolean;Defined in: src/plugins/physics/runtime/backend.ts:223
Whether the two bodies' colliders collide.
readonly damping?: number;Defined in: src/plugins/physics/runtime/backend.ts:219
readonly frame1?: D["rot"];Defined in: src/plugins/physics/runtime/backend.ts:212
The joint's frame in each body's frame (3D: its x axis is the hinge or slider axis; 2D fixed joints: the angle between the bodies).
readonly frame2?: D["rot"];Defined in: src/plugins/physics/runtime/backend.ts:213
readonly kind: D["jointKind"];Defined in: src/plugins/physics/runtime/backend.ts:205
readonly length?: number;Defined in: src/plugins/physics/runtime/backend.ts:217
Rope: its longest; spring: its rest length.
readonly limits?: readonly [number, number] | null;Defined in: src/plugins/physics/runtime/backend.ts:221
Revolute and prismatic limits when made.
readonly stiffness?: number;Defined in: src/plugins/physics/runtime/backend.ts:218
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