{"repo":"Habrador/Ten-Minute-Physics-Unity","free":true,"listed":false,"github":"https://github.com/Habrador/Ten-Minute-Physics-Unity","clone":"git clone https://github.com/Habrador/Ten-Minute-Physics-Unity.git","description":"Implementations in Unity of the Ten Minute Physics YouTube channel. Instead of using Unity's built-in physics engine, you will learn how to make your own XPBD based physics engine. This is useful if you want to simulate ropes, cloth, tires, etc. You will also learn how to make fluid simulations and soft body physics.","language":"C#","stars":358,"topics":["physics","physics-simulation","soft-body","unity","unity3d","pendulum","double-pendulum","simulation","triple-pendulum","n-body"],"license":"MIT","category":"game-templates","readme_excerpt":"Ten Minute Physics in Unity Implementations in Unity of the YouTube channel Ten Minute Physics. My contribution is that I have translated the code from mainly JavaScript to C#, and I have commented the code to make it easier to understand what's going on. I have also fixed a few minor bugs and improved the performance. 1-2. Cannon ball Simulate a bouncy cannon ball. 3. Billiard Simulate billiard balls with different size and mass. Watch this YouTube video for examples: 4. Pinball Simulate a pinball game. 5. Beads on wire Simulate beads attached to a circular wire. 6. Pendulums Simulate the chaotic behavior of pendulums with as many arms as you want and where each arm can have different mass. With many arms you get a rope or hair! Watch these YouTube videos for examples: 7. 3d Vector Math for Simulation Nothing to simulate 8. Interaction Catch and throw a ball with your mouse. 9. Getting ready to simulate the world with XPBD Nothing to simulate 10. Soft body physics Simple unbreakable soft body bunny physics. You can flatten it and throw it around with your mouse. 11. Find overlaps among objects Find overlaps among thousands of objects blazing fast. Implements a version of the Spatial Partitioning design pattern called \"Spatial Hashing\" which is really useful if you have an unbounded grid. 12. Optimized soft body physics (TODO) Is not optimizing the code from #11, but is showing how you can use a more detailed mesh and make that faster. You use two meshes: one with fewer trian","default_branch":null,"files":null,"tree":[],"storefront":"/r/Habrador","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Habrador/Ten-Minute-Physics-Unity/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}