Martijn Faassen

Results 129 comments of Martijn Faassen

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

I think we're confusing API with implementation if we argue Heron shouldn't expose 'Circle' and 'Rectangle' as a concept because 2d graphics are implemented with 3d graphics. Bevy talks about...

Concerning using a feature toggle, see also the comments in my PR. I think, it *would* be the simplest if there were only a Body to worry about, not a...

A possibly relevant discussion: https://github.com/bevyengine/bevy/issues/1275 This hints that the z coordinate is used in graphics to prioritize layers. Though of course it argues that's not an ideal solution.

Yes, I agree that adding constructors to Body makes the most sense, also from an implementation perspective.

So looking at debug `dim2.rs` as it is now as an example of something that needs access to Rapier shape data, it works as follows: * it uses `&BodyHandle` within...

To be clear: I'm not concerned with the debug renderer. I have a non-debug renderer that also uses this information, so I'd like there to be a public API for...

If there were a way to create a body from a bevy_prototype_lyon polygon (which then would be a convex_polygon instead of a convex hull?) then I think that would fulfill...

It's alive-ish. I don't currently use it much myself, though.

I'm happy to accept this pull request but it needs some tests. I'm especially curious about the `[1:]` in the code -- does this have something to do with an...