PROMETHIA-27 / bevy_mod_wanderlust

Apache License 2.0
66 stars 12 forks source link

`RelatedEntities` component and more intuitive spring settings #8

Closed Aceeri closed 2 years ago

Aceeri commented 2 years ago

Swap from directly using the damp_coefficient in F = -kx - cv to using a ratio to the critical damping point.

This means that damping forces should make more sense in that <1 is under-damped and will overshoot 1 is critically damped and will just reach the target without overshooting >1 is over-damped and will slowly reach the target