-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
JointData.revolute multiple axes #279
Comments
I'm only now looking at the changelogs and see that much has changed in this last update.. |
I have encountered the same issue. Are there any updates on this? |
Not from my end, sorry. Went back to ammo.js. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey,
I am having trouble with revolute joints. I have tried this with
https://cdn.skypack.dev/@dimforge/rapier3d-compat
and with webpack and@dimforge/rapier3d@0.8.0-alpha.2
.The javascript 3d userguide ánd the joint example shows that you can provide anchor, axis, anchor, axis arguments:
Those examples both use this
RAPIER.JointParams.revolute
. However in the docs and in the RAPIER instance I load there's onlyRAPIER.JointData.revolute
. That version of the revolute function only takes 3 arguments; anchor, anchor, axis.I would really like to be able to use specific axes per body. I don't even understand how it would work with just one. Am I doing something wrong, or is this a translation error or something? It should be Axis1, Axis2.
For example, if you connect two cuboid body's with a revolute joint; body1 on the top and body2 on the right side. You'd want to set the y-axis for body1 and the x-axis for body2. Right?
Thanks in advance,
Ethan
The text was updated successfully, but these errors were encountered: