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

Adds SingleLayerInfluenceMask #2043

Merged
merged 7 commits into from
Jan 22, 2024
Merged

Conversation

codex128
Copy link
Contributor

@codex128 codex128 commented Jul 24, 2023

This is my first pull request ever, so take it easy on me :)

The main element of this class (AlertArmatureMask SingleLayerInfluenceMask) is the ability to check if a joint is currently being used by a higher layer before approving it for personal use via contains(Object target). This can help smooth some interpolation issues that may arise between layers with looped/sequenced animations (see here for more details on the problem).

This class also provides several helper methods to make mask creation easier.

@pspeed42
Copy link
Contributor

So is this basically a filter? Or is it like firing off "Hey, look at me! look at me! look at me! look at me!" events?

@codex128
Copy link
Contributor Author

Yes, I guess you could call it a filter. It's pretty much the same as ArmatureMask except it has an extra criteria for masking joints.

@codex128 codex128 changed the title added AlertArmatureMask Adds SingleLayerInfluenceMask Jan 21, 2024
@scenemax3d scenemax3d merged commit cf030a9 into jMonkeyEngine:master Jan 22, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants