Get Nearest Body

Description:

Retrieves the body number corresponding to the person who is the closest to the Kinect device. When there are no bodies currently tracked by the Kinect device, the Nearest Body will default to Body 0 and the Is Tracked output will be false.

Inputs:

  • Target [KinectInterfaceComponent]: The Unreal Engine/Kinect interface object.

Outputs:

  • Nearest Body [EBodyNumber]: The number of the body that is nearest to the Kinect device.
  • Is Tracked [Boolean]: The value (true/false) that indicates whether the Centered Body value returned is actually being tracked by the device.