Garry's Mod Wiki

motionsensor.BuildSkeleton

  Vector, Angle, table motionsensor.BuildSkeleton( table translator, Player player, Angle rotation )

Description

This is used internally - although you're able to use it you probably shouldn't.

Called to build the skeleton. See Using The Kinect and Kinect developing.

Arguments

1 table translator
list.Get( "SkeletonConvertor" ) and motionsensor.ChooseBuilderFromEntity.
2 Player player
The player to get motion sensor positions from.
3 Angle rotation
Global rotation of the player?

Returns

1 Vector
Position
2 Angle
Angles
3 table
Sensor