Skip to content

five-on-it / apps/client/src/renderer/ragdoll / restPoints

Function: restPoints() ​

restPoints(joints): Float32Array

Defined in: apps/client/src/renderer/ragdoll.ts:446

The ragdoll's points at rest, in the actor's frame (the feet at the origin, facing +z, its left +x), from the model's joints.

Parameters ​

joints ​

ReadonlyMap<"head" | "torso" | "arm-l" | "arm-r" | "forearm-l" | "forearm-r" | "leg-l" | "leg-r" | "shin-l" | "shin-r", Vector3>

Returns ​

Float32Array