Skip to content

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

Function: posedPoints() ​

posedPoints(rest, joints, pose, world, drop): Float32Array

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

The ragdoll's points where a figure stands now (world, m): its rest points posed by the figure (its parts' turns, its root's place and turn, in the model file's frame: the actor's turned half a circle) and placed by the actor's world matrix (the node, its feet drop below it).

Parameters ​

rest ​

Float32Array

joints ​

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

pose ​

Pose | undefined

world ​

Matrix

drop ​

number

Returns ​

Float32Array