Skip to content

Mirroring Leap Motion Hands #1326

Answered by MattGrayUL
hongkai0818 asked this question in Q&A
Discussion options

You must be logged in to vote

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!

using UnityEngine;
using Leap;
using Leap.Unity;

public class Mir…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hongkai0818
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants