-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
Feature/add extra joint methods #149
Feature/add extra joint methods #149
Conversation
PR changes will be reviewed by Seb later, usually end of a month. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this PR!
src/dynamics/impulse_joint.rs
Outdated
max: f32, | ||
) { | ||
self.map_mut(handle, |j| { | ||
j.data.set_limits(JointAxis::from(axis).into(), [min, max]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
j.data.set_limits(JointAxis::from(axis).into(), [min, max]); | |
j.data.set_limits(axis.into(), [min, max]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @sebcrozet - this change has now been made. Thanks
…eature/add-extra-joint-methods
Thanks! |
Added a few joint method that exist within Rapier, but are not yet exposed within Rapier.js. Specifically: