jcornaz / heron

[DISCONTINUED] An ergonomic physics API for bevy games
MIT License
292 stars 44 forks source link

Mass component #69

Open jcornaz opened 3 years ago

jcornaz commented 3 years ago

Knowing the mass is necessary to calculate an acceleration from a force or a delta-v from an impulse.

faassen commented 3 years ago

I was wondering how to do this already, thank you!

Kaendor commented 2 years ago

Should the mass be 0 when automatically inserted or be computed using a density of 1, as rapier does it?

jcornaz commented 2 years ago

Should the mass be 0 when automatically inserted or be computed using a density of 1, as rapier does it?

Ideally, It should be the mass of the rapier rigid body.