microsoft / Azure-Kinect-Sensor-SDK

A cross platform (Linux and Windows) user mode SDK to read data from your Azure Kinect device.
https://Azure.com/Kinect
MIT License
1.49k stars 618 forks source link

How to set direction in Unity 3d Azure kinect Bodytracking? #1843

Open ghkd3930 opened 1 year ago

ghkd3930 commented 1 year ago

I'm following the Unity BodyTracking sample, but it's frustrating because the modeling is always looking behind me. Changing or angled the matched bones will break or reverse the behavior. Is there any way to change the viewing direction within Azure kinect itself?

amantley commented 1 year ago

Hi you can add an offset rotation as I have in this code here.

image

Then you can change the rotation in the inspector

image
ghkd3930 commented 1 year ago

안녕하세요, 여기 이 코드에 있는 것처럼 오프셋 회전을 추가할 수 있습니다. 그런 다음 관리자에서 회전을 변경할 수 있습니다. 영상 영상

hello. Thank you for answer. The method you provided is no different than adjusting the Y_180_FLIP of the TrackerHandler. If I raise my left hand, that friend also turns upside down and raises my left hand so that the mirror doesn't come out. I want a mirror-like picture.

Lt23live commented 5 months ago

I know this was a while ago but did you ever figure out how to solve it?