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

RuntimeError: unreachable when using RAPIER.JointData.spring #268

Closed
MaxBittker opened this issue Mar 18, 2024 · 1 comment · Fixed by #273
Closed

RuntimeError: unreachable when using RAPIER.JointData.spring #268

MaxBittker opened this issue Mar 18, 2024 · 1 comment · Fixed by #273

Comments

@MaxBittker
Copy link

I was able to use all other joint type, but not springs. Not sure how to debug this further as
the error just looks like this:

003fd91e:0xbf827 Uncaught (in promise) RuntimeError: unreachable
    at 003fd91e:0xbf827
    at 003fd91e:0xec82b
    at 003fd91e:0xe0612
    at 003fd91e:0x41831
    at 003fd91e:0x12014
    at 003fd91e:0x199ae
    at 003fd91e:0xa061b
    at RawPhysicsPipeline.step (rapier_wasm2d_bg.js:2696:14)
    at PhysicsPipeline.step (physics_pipeline.ts:69:22)
    at _World.step (world.ts:241:30)

Here is a reproduction case:
https://codesandbox.io/p/devbox/busy-hamilton-f947s2?

(change line 88 to use ropeJointParams to see a working version)

@MaxBittker
Copy link
Author

this is solved if i build from b00113ed2f9e4824a254027b57c9b4a07c4c2307

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 a pull request may close this issue.

1 participant