These are examples of how to use the Bevy engine to create a simple physics simulations based on Matthias Muller's amazing Ten Minute Physics tutorials, go check them out.
I have playing around with creating a bevy native physics engine for a while, and while I have learned alot, they haven't been usable. My lastest issue been has implementing a global solver for contraints. Even with simple contrains it feels like you need a PHD (which I don't have) and so many advance optimazations to be performant, (sparse matrix representations for example) that the KISS principle is no where in sight. That's why I am hopeful for XPBD, it seems to be a much simpler approach to solving the same problem.
These are not polished bevy or rust examples, I have done just enough to recreate Muller's examples. I do plan on writing a xpbd physics plugin for bevy, this is not that plugin.
No code for this one.
No code for this one.
- [ ] Edges from plane still need work. - [ ] Grab- Matthias Muller for the amazing tutorials, code, and papers.