Jondolf / avian

ECS-driven 2D and 3D physics engine for the Bevy game engine.
https://crates.io/crates/avian3d
Apache License 2.0
1.55k stars 120 forks source link

The documentation of `ShapeHitData` says the points are in local space, but they're in world space #458

Open janhohenheim opened 4 months ago

janhohenheim commented 4 months ago

Context

Quoting @Jondolf:

The docs say that the data is in local space because that's what Parry says (the library that is internally used for these spatial/geometric queries) and I haven't updated the docs yet or fixed this in Parry. I also remember it being somewhat inconsistent though, and that for some shapes it is still in local space, but I'm less sure about that 🤔