Repository navigation
API Interface RagdollBone
Defined in: src/plugins/ragdoll/runtime/Ragdoll.ts:39
One bone's body, joint and muscle (ADR 0375). Frames are the body's: the bone's frame turned by frame.
axis: "x" | "y" | "z";Defined in: src/plugins/ragdoll/runtime/Ragdoll.ts:48
A capsule's axis in the body's frame.
bone: string;Defined in: src/plugins/ragdoll/runtime/Ragdoll.ts:41
The skeleton bone's name.
center: object;Defined in: src/plugins/ragdoll/runtime/Ragdoll.ts:46
The collider's centre in the body's frame.
x: number;y: number;z: number;damping: number;Defined in: src/plugins/ragdoll/runtime/Ragdoll.ts:57
frame?: object;Defined in: src/plugins/ragdoll/runtime/Ragdoll.ts:64
The body's frame relative to the bone's (a unit quaternion); identity by default.
w: number;x: number;y: number;z: number;mass: number;Defined in: src/plugins/ragdoll/runtime/Ragdoll.ts:50
Kilograms.
maxForce: number;Defined in: src/plugins/ragdoll/runtime/Ragdoll.ts:58
pin: number;Defined in: src/plugins/ragdoll/runtime/Ragdoll.ts:62
How strongly this body is pinned to the animation in powered mode, 0–1 (root bodies default to 1).
shape: RagdollShape;Defined in: src/plugins/ragdoll/runtime/Ragdoll.ts:42
size: object;Defined in: src/plugins/ragdoll/runtime/Ragdoll.ts:44
Box: its full size. Capsule: x the radius, y the full height along axis. Sphere: x the radius.
x: number;y: number;z: number;stiffness: number;Defined in: src/plugins/ragdoll/runtime/Ragdoll.ts:56
The joint drive (powered mode): stiffness (N·m/rad), damping (N·m·s/rad) and the torque limit (N·m).
strength: number;Defined in: src/plugins/ragdoll/runtime/Ragdoll.ts:60
This muscle's strength multiplier.
swing: object;Defined in: src/plugins/ragdoll/runtime/Ragdoll.ts:52
Swing half-angles (degrees) about the joint's y and z axes; the joint's x axis is the body's (twist).
y: number;z: number;twist: object;Defined in: src/plugins/ragdoll/runtime/Ragdoll.ts:54
Twist range (degrees) about the body's x axis.
max: number;min: number;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