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

Real-world units not specified #563

Open
Pyxrs opened this issue Nov 21, 2024 · 2 comments
Open

Real-world units not specified #563

Pyxrs opened this issue Nov 21, 2024 · 2 comments

Comments

@Pyxrs
Copy link

Pyxrs commented Nov 21, 2024

When working with real-world values, I am not sure which scale factors need to be applied to properly recreate them in my Bevy project. Some documentation on units for properties like mass and velocity would be nice, like Bevy provides for lights and cameras.

@Pyxrs Pyxrs changed the title Units? Real-world units not specified Nov 21, 2024
@andrewexton373
Copy link

I second this question! I'm wondering what the units for ExternalTorque are, but haven't been able to find anything documented.

@gigamicro
Copy link

gigamicro commented Feb 25, 2025

i'm pretty sure mass is defined as relative in this engine (thus so are forces), deltas (eg velocity) are x-per-second, and the only reason 1.0 is a meter is because the default gravity is -9.81y
in my current prototype, mass is in kilograms, so 1 density (the default) is extremely light (1kgm¯³)
if i multiply all the densities by, say, ten, nothing changes unless i have some set force in my code that i didn't also multiply

edit: should still be documented, just a "all mass is relative" in a few places and a clarification that torques are (mass)*rad/sec

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

3 participants