abgbro
abgbro

Reputation: 11

Is there a way to have objects in unity occluded by human bodies?

I have an object in unity that I need to be hidden by any person's body. I tried the occlusion setting in MRTK to no avail.

spatial awareness MRTK setting

The occlusion only works on well-defined surfaces like tables and walls, but I need the object to be hidden behind a person's body. I've heard that the HoloLens has this capability but may need assistance from Kinect azures. I was wondering if anyone could point me towards the right direction. Any help would be appreciated!

Unity Version I am using: 2020.3.38 MRTK features: 2.8.2

Upvotes: 1

Views: 102

Answers (1)

Zuocheng Wang - MSFT
Zuocheng Wang - MSFT

Reputation: 816

The premise of occlusion is to scan the human body and generate the corresponding object, mesh, collision. However, there is currently no out-of-the-box solution available in HoloLens for body scanning. So, you may need some external libraries to detect/scan the human body. As for Azure Kinect, I am not an expert on this and please find support from corresponding channel.

Upvotes: 1

Related Questions