five-on-it / apps/client/src/renderer/models / propFrame
Function: propFrame()
propFrame(
carried,right,left,elbow,up,facing,out):Matrix
Defined in: apps/client/src/renderer/models.ts:178
Where a handheld prop is held, as a matrix into out (the prop's frame: +y up along what holds it, +z the way the figure faces): one carried in both hands between the fists, upright with the torso (up); one hanging from the right fist (its grip at the fist's tip right), up along the forearm toward the elbow.
Parameters
carried
boolean
right
Vector3
left
Vector3
elbow
Vector3
up
Vector3
facing
Vector3
out
Matrix
Returns
Matrix