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

Joint removal does not wake up attached body #142

Open
LeXXik opened this issue Jun 15, 2022 · 0 comments
Open

Joint removal does not wake up attached body #142

LeXXik opened this issue Jun 15, 2022 · 0 comments

Comments

@LeXXik
Copy link

LeXXik commented Jun 15, 2022

After removing a joint, a dynamic rigidbody does not wake up, keeping it asleep.
On the video: fixed box and dynamic sphere. On keypress I remove a joint - sphere stays in place. On another keypress I explicitly wake up sphere.

const joint = RAPIER.JointData.prismatic(anchor1, anchor2, axis);
...
world.removeImpulseJoint(joint, true);
2022-06-15.14-34-29.mp4
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

1 participant