Re:Matter.js – A 2D rigid body physics engine for the web
by chromakode on Monday January 19, 2015 @04:41PM
(#8914282)
Sounds like Gish! http://www.chroniclogic.com/gish.htm
Re:Matter.js – A 2D rigid body physics engine for the web
by hngiszmo on Monday January 19, 2015 @10:00PM
(#8915252)
When I saw Gish for the first time, I thought the same but I bet they fake a lot of physics.
Re:Matter.js – A 2D rigid body physics engine for the web
by hrqbnvfjshark on Tuesday January 20, 2015 @04:37AM
(#8916135)
Maybe this is something like what you described: try the 'Blob Test' example from Box2D-html5
Re:Matter.js – A 2D rigid body physics engine for the web
by seanmcdirmid on Monday January 19, 2015 @06:51PM
(#8914776)
You probably want a soft body physics engine, not a rigid body one. Something that could use Verlet + pressure-based techniques, for example.
I want a demo where the user can control a soft body ball such that the ball is comprised of chain segments, connected with string constant k. The pressure of the ball would be calculated depending on the area enclosed by the chain's polygon and would be applied to each segment equally, to the outwards side. Controls would be left/right as a simple added force to all segments of the ball. Jump would be increased air amount (target surface area) and crouch would be decreased k. In my imagination, the ball would be low friction and would grow throughout the game, to take on bigger adversaries.
(Sharing it here cause I didn't get to code it in years but I would really love to see if the control would work.)