Open EthanHermsey opened 2 years ago
I'm only now looking at the changelogs and see that much has changed in this last update.. Downgrading to 0.7.6 fixed this particular problem, for now.
I have encountered the same issue. Are there any updates on this?
Not from my end, sorry. Went back to ammo.js.
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