- Видео 19
- Просмотров 58 791
Erin Catto
Добавлен 11 сен 2013
Box2D and game physics
Launch ramp
This demonstrates a tangent speed feature being added to shapes in Box2D. This allows for things like conveyor belts and launch ramps like this one. I've also added a feature to allow chain shapes to have a different surface material for each segment which includes the tangent speed as well as friction, etc.
Просмотров: 286
Видео
Rolling resistance
Просмотров 27914 часов назад
This is static resistance with a constraint, so it can work on ramps. The resistance scales based on the contact normal forces and the radius of the shape.
Is it Centripetal or Centrifugal?
Просмотров 3,4 тыс.3 месяца назад
I was testing Box2D and found this pleasant effect. Details: - the outer circle is static - the spinner is a motorize dynamic rigid body on a revolute joint - the spinner has 4 times higher density than the small rigid bodies - the motor torque limit is quite high - continuous collision is needed to keep bodies from leaking through the outer circle - friction is very low to keep the spinner fro...
Projected explosion
Просмотров 3674 месяца назад
Testing explosions that use projected area (perimeter in 2D). Gravity is zero and the bodies are connected to ground using soft weld joints.
Box2D Version 3.0 Release Demo
Просмотров 12 тыс.5 месяцев назад
I made these demos to celebrate the launch of Box2D version 3.0. All demos run in real time using an 8 core Ryzen CPU and maintain 60fps or better. All moving objects are fully simulated rigid bodies. You can get the Box2D version 3.0 code here: github.com/erincatto/box2d Read more about the release here: box2d.org/posts/2024/08/releasing-box2d-3.0/ Thanks to Lisa Catto for editing this video!
Card House
Просмотров 1,9 тыс.11 месяцев назад
Card House rigid body simulation using Solver2D. github.com/erincatto/solver2d box2d.org/
Large pyramid with balanced iterations
Просмотров 3,6 тыс.11 месяцев назад
Extra iterations for solvers that have fewer constraint loops, so all solvers loop over constraints the same number of times. Follow up to: ruclips.net/video/sKHf_o_UCzI/видео.html Blog post: box2d.org/posts/2024/02/solver2d/
Solver2D Results
Просмотров 24 тыс.11 месяцев назад
In this video I go over Solver2D results in detail. Find the blog post here: box2d.org/posts/ Github repo: github.com/erincatto/solver2d 00:00 - Intro 00:31 - Parabolic Arch 03:56 - Confined Circles 07:44 - Double Domino Effect 09:41 - Friction Ramp 13:13 - High Mass Ratio 1 17:34 - High Mass Ratio 2 20:18 - Overlap Recovery 24:17 - Large Pyramid 27:57 - Ball and Chain 32:54 - Joint Grid 37:48 ...
Large Pyramid Solver Comparison
Просмотров 1,4 тыс.Год назад
This compares seven constraint solvers on a pyramid with a base of 100 boxes. A small number of iterations are allowed: 4 primary iterations and 1 secondary iteration.
Tumbler constraint coloring
Просмотров 747Год назад
Incremental greedy edge coloring to identify independent sets of constraints. There is a limit of 12 colors, starting with ROYGBIV. The outer box has many constraints, so these go into an overflow color (black dots).
Box2D 3.0 Bounding Volume Hierarchy Testing
Просмотров 9822 года назад
Added a dedicated test for the dynamic tree. This will help with future optimization work.
Distance Joint
Просмотров 4484 года назад
New distance joint: - separate minimum and maximum lengths - spring/damper - limits are predictive
Skinny Staff
Просмотров 6464 года назад
This shows the unrealistic motion you can get when leaving out gyroscopic terms from the rotational equations of motion.