Garry's Mod Wiki

Player:MotionSensorPos

  Vector Player:MotionSensorPos( number bone )

Description

Returns the position of a Kinect bone.

Arguments

1 number bone
Bone to get the position of. Must be from 0 to 19.

Returns

1 Vector
Position of the bone.