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

Hinge Constraints #12

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

sneha-belkhale
Copy link
Contributor

@sneha-belkhale sneha-belkhale commented Mar 13, 2019

@jsantell - so as I mentioned in #3 , here is an implementation of hinge constraints along with an example of how to use them.

Currently the usage is very similar to the IKBallConstraint -- the IKHingeConstraint accepts a maximum angle as a parameter, and the axis of rotation is determined by the starting orientations of the bones.

Few things on the todo list are adding a minimum angle parameter, as well as another parameter for flipping the rotation axis.

I've tested it successfully with 3 models -- looking forward to your thoughts on the implementation :)

@Kif11
Copy link

Kif11 commented Mar 28, 2019

@jsantell can you please review this MR. I'm working on a project and it will be useful to have hinge constrains on our characters with IK systems.

@arpu
Copy link

arpu commented Jul 13, 2019

@jsantell anything is needed here?

@jsantell
Copy link
Owner

jsantell commented Aug 8, 2019

Hello! A few more things to make it possible to merge:

  • Squashing this down to one commit and rebase off of master
  • Remove the built files

Sorry for the slow response! and great work 😄

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.

4 participants