Jump to content

Hand Tracking Use in Unity


毛.sy

Recommended Posts

你好  @chengnay

由于某些原因,我必须放大场景,因此相机也被放大了7倍。但是,在放大相机和手的模型之后,我发现手的移动距离仍为比例=1。因此,我想问一下如何设置手的放大移动距离。谢谢

微信图片编辑_20201013111531.jpg

Link to comment
Share on other sites

For current sample scene provided by Hand Tracking SDK, if you enlarge the scale of the Skeleton, your hands will look strange.

image.png.b30d1f8939daef3e740e6f66d2b7da51.png

 

But to me, the position of the hands looks fine to me. it matches with my real world hands.

 

What's your expected result?

Link to comment
Share on other sites

I are using now is another hand, two hands do not match the hierarchy model, I'm using the hand shape is no problem, I will be his camera and scale are set 787436109__20201013155250.thumb.png.721b2e133489b4f9fdeef7312fe470a8.pngto hand,7,7 (7), but the movement of the hand distance or scale (1,1,1) based, so I want to see change the location of the code which can reset hand moving distance.

微信图片_20201013154156.png

Link to comment
Share on other sites

No, I tried Transform. Position = result.Points [0] * 7;Transform.position = result.position * 7;

The only way to reset the transform.position movement distance is to multiply the scale in the code, but I don't know where to set it

@zzy

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...