Saturday, August 4, 2018

c++ - Homemaking a 2d soft body physics engine



hey so I've decided to Code my own 2D soft-body physics engine in C++ since apparently none exist and I'm starting only with a general idea/understanding on how physics work and could be simulated:


by giving points and connections between points properties such as elasticity, density, mass, shape retention, friction, stickiness, etc.


What I want is a starting point: resources and helpful examples/sites that could give me the specifics needed to actually make this such as equations and required physics knowledge. It would be great if anyone out there also would give me their attempts or ideas.


finally I was wondering if it was possible to...




  • use the source code of an existing 3D engine such as Bullet and transform it to be 2D based?




  • use the source code of a 2D Rigid body physics engine such as box2d as a starting point?






Answer



No softbody solvers in C++ exist?


https://stackoverflow.com/questions/3269212/non-rigid-body-2d-physics-engines-in-c


No comments:

Post a Comment

Simple past, Present perfect Past perfect

Can you tell me which form of the following sentences is the correct one please? Imagine two friends discussing the gym... I was in a good s...