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

unreachable executed error when using MultiBody joint with WASM #248

Open
HunterBarclay opened this issue Jan 16, 2024 · 3 comments
Open

Comments

@HunterBarclay
Copy link

Description

I'm currently testing out Rapier inside of a react app using the @dimforge/rapier3d-compat (v^0.11.2) NPM package. I have a scene setup using impulse joints and when I swap the creation method for impulse joints out for multibody joint, I get an unreachable executed error some where in rapiers WASM code:
a
The line in question is a return statement with the new joint:
b
Any help would be greatly appreciated!

@HunterBarclay
Copy link
Author

Here is the rest of the stack trace it shows me in the browser:
image

@MaxBittker
Copy link

did you figure this out?

@HunterBarclay
Copy link
Author

@MaxBittker Nope. I isolated the issue to be something involving the borrow-checker, but was unable to see what I was doing wrong. I made my own WASM library for Rapier and that fixed it, but still ran into some other issues with static bodies and their behavior in MultiBody joints (which I believe is something wrong with the core library). My team ended up ditching Rapier altogether for JoltPhysicsJS.

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

No branches or pull requests

2 participants