-
I am probably missing something simple, as usual, but I can't seem to make the motor activate. I am trying to do it the way it is done in example, with windmill that has a hinge constraint, but in my case it simply hangs under gravity. 2024-04-27.18-51-51.mp4I do
Any ideas how I could debug it? Not sure what I missed. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hard to say what may be going wrong without the surrounding code. I would start by creating a debug build for JoltPhysics.js and looking at the console to see if any asserts trigger. |
Beta Was this translation helpful? Give feedback.
-
It was a user error. I was using |
Beta Was this translation helpful? Give feedback.
It was a user error. I was using
Jolt.wrapPointer()
instead ofJolt.castObject()
to get the hinge constraint.