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

Document SpringJoint #89

Open
Jondolf opened this issue Mar 17, 2024 · 3 comments
Open

Document SpringJoint #89

Jondolf opened this issue Mar 17, 2024 · 3 comments
Labels
D-Medium Medium difficulty documentation Improvements or additions to documentation M-Bevy about bevy_rapier crate M-JS about javascript integration M-Rust about rapier crate P-Medium Medium Priority S-not-started Work has not started on it

Comments

@Jondolf
Copy link
Contributor

Jondolf commented Mar 17, 2024

Rapier has a SpringJoint for constraining the distance between two bodies, but it is not mentioned on the website. People often have to ask whether a joint like this exists or scramble through the API docs and source code to find it.

It should have usage documentation like the other joints. This currently applies to all versions of Rapier, including the Bevy plugin and JS bindings.

@MaxBittker
Copy link

have you gotten this joint to work @Jondolf ?

@Jondolf
Copy link
Contributor Author

Jondolf commented Mar 19, 2024

Sorry, I haven't actually tried it myself, I'm just aware that Rapier has it and seen other people using it or asking about it... I have my own physics engine and primarily use that 😅

I just made this issue as part of an effort to gather some missing pieces in Rapier's documentation (see my 9 other issues from the same day lol). I see you opened dimforge/rapier.js#268 though; I haven't used the JS bindings, but I don't think I've seen anyone have crashes using the joint on the Rust side

@MaxBittker
Copy link

I'll try on the rust side!

@Vrixyz Vrixyz added documentation Improvements or additions to documentation S-not-started Work has not started on it P-Medium Medium Priority M-Bevy about bevy_rapier crate M-Rust about rapier crate M-JS about javascript integration D-Medium Medium difficulty labels May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
D-Medium Medium difficulty documentation Improvements or additions to documentation M-Bevy about bevy_rapier crate M-JS about javascript integration M-Rust about rapier crate P-Medium Medium Priority S-not-started Work has not started on it
Projects
None yet
Development

No branches or pull requests

3 participants