five-on-it / apps/client/src/renderer/gunfire / muzzleOf
Function: muzzleOf()
muzzleOf(
models,holder,weapon,toward,out):Vector3|undefined
Defined in: apps/client/src/renderer/gunfire.ts:115
Where a shot leaves a holder on its way to toward, into out: on foot the muzzle of the gun (weapon's model, held as the figure is posed this frame; before the weapons' models are in, the end of a barrel MUZZLES long past the fist that holds it); from a seat the window the shot leaves by. undefined before the models are in.
Parameters
models
holder
weapon
string
toward
out
Vector3
Returns
Vector3 | undefined