Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to four points #20

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Move to four points #20

wants to merge 2 commits into from

Conversation

jellejurre
Copy link
Contributor

No description provided.

@oofdesu
Copy link
Member

oofdesu commented Nov 19, 2024

When the Tracking state is entered, the scale constraint on Tracking Points has it's weight animated to 1. This breaks the tracking with the 4-point setup because the contacts get too far away from each other when the parent scales up. Originally, scaling up was done to making it very hard to lose tracking.

@jellejurre
Copy link
Contributor Author

When the Tracking state is entered, the scale constraint on Tracking Points has it's weight animated to 1. This breaks the tracking with the 4-point setup because the contacts get too far away from each other when the parent scales up. Originally, scaling up was done to making it very hard to lose tracking.

Should be fixed

@kitlith
Copy link

kitlith commented Nov 22, 2024

I'm experiencing odd behavior when trying this version out in my avatar project using Gesture Manager. it only works as intended when frame stepping for some reason? otherwise, it seems to kinda move away from the contact sender in a semi-random fashion/direction until it no longer interacts with the contact sender. This does not occur with the version of the tracker currently in the main branch. Are you testing it in-editor? If so, how are you doing so?

aside: does the math used by this iteration make assumptions about the radius of the contact sender? (one of the writeups on discord appeared to discard the sender's radius as part of an approximation, assuming that it was 0, i think, but the information I can pull doesn't seem particularly clear on the matter, aside from using different math than my own attempt at this. (i didn't do anything with barycentric coordinates)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants