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

No way to check angle of joint #496

Open
psycherock opened this issue Apr 23, 2024 · 2 comments
Open

No way to check angle of joint #496

psycherock opened this issue Apr 23, 2024 · 2 comments
Labels
A-Integration very bevy specific D-Medium P-Low question Further information is requested S-not-started Work has not started

Comments

@psycherock
Copy link

I want to check the angle of a revolute joint. Through impulsejoint.data I can get many details, local_anchor, local_axis, local_basis, etc. But not the actual angle of the joint.

@Vrixyz
Copy link
Contributor

Vrixyz commented May 21, 2024

I'm a bit confused, are you using a RevoluteJoint or an ImpulseJoint ?

Do you want to know the current angle of the joint (at the time you're calling the method) ?
If yes, The data will not be enough as this contains only the configuration of the joint, you'll want to consolidate this information (local anchor + axis probably ?) with its entity transform.

@Vrixyz Vrixyz added question Further information is requested D-Medium P-Low S-not-started Work has not started A-Integration very bevy specific labels May 21, 2024
@psycherock
Copy link
Author

psycherock commented May 22, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Integration very bevy specific D-Medium P-Low question Further information is requested S-not-started Work has not started
Projects
None yet
Development

No branches or pull requests

2 participants