Mirroring Leap Motion Hands #1326
-
In our project, we would like to place our left hand in front of the leap, and mirror it so it looks like the right hand (but controlled by the left..), so that on the screen both the left hand and right (mirrored) hand will appear. Is there a correct and effective way to achieve this? We have tried the following way but it doesn't work.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @hongkai0818 We don't have an out-of-the-box solution to produce what you want, but I expect you would need to modify the tracking data before it is used We have PostProcessProviders for this purpose, here is some documentation on them I have mocked up a PostProcessProvider that is a start for what you are looking for, unfortunately I have found that we may have a bug with our Essentially, it takes an existing hand (you can choose which one) and will transform all of the hand data to be flipped on the X axis by scaling by -1 I hope this is helpful!
|
Beta Was this translation helpful? Give feedback.
Hi @hongkai0818
We don't have an out-of-the-box solution to produce what you want, but I expect you would need to modify the tracking data before it is used
We have PostProcessProviders for this purpose, here is some documentation on them
I have mocked up a PostProcessProvider that is a start for what you are looking for, unfortunately I have found that we may have a bug with our
Transform
extension method, but you may find this script a useful start.Essentially, it takes an existing hand (you can choose which one) and will transform all of the hand data to be flipped on the X axis by scaling by -1
I hope this is helpful!