R.U.B.E Box2D editor scene in Chipmunk physics
The R.U.B.E Box2D editor exports plain-text JSON which can be loaded into other physics engines that have similar representations of bodies, shapes, etc. Here is a partial implementation of a loader for the Chipmunk physics engine.
You can download and run this yourself (Windows, Mac, Linux)
This was an experiment to see how much extra work would be needed to take existing scenes from Box2D and use them in Chipmunk. The shapes themselves seem fine but almost everything to do with joints needs to be re-tuned. The lack of a 'collideConnected' type check to prevent fixtures of joined bodies from colliding, coupled with only a single category bit-flag for collision filtering mean that a lot of careful thinking was required to set up the right flags for structures with a lot of overlapping fixtures.
Another issue was how to add more than one shape to a body without screwing up the moment settings.
I mostly ignored these problems because this was not really intended to be a proper loader, but with a bit more effort I'm sure they could be dealt with. This source code would be useful as a starting point if anyone seriously wants to develop a loader for Chipmunk, so it is included in the RUBE download.
You can download and run this yourself (Windows, Mac, Linux)
This was an experiment to see how much extra work would be needed to take existing scenes from Box2D and use them in Chipmunk. The shapes themselves seem fine but almost everything to do with joints needs to be re-tuned. The lack of a 'collideConnected' type check to prevent fixtures of joined bodies from colliding, coupled with only a single category bit-flag for collision filtering mean that a lot of careful thinking was required to set up the right flags for structures with a lot of overlapping fixtures.
Another issue was how to add more than one shape to a body without screwing up the moment settings.
I mostly ignored these problems because this was not really intended to be a proper loader, but with a bit more effort I'm sure they could be dealt with. This source code would be useful as a starting point if anyone seriously wants to develop a loader for Chipmunk, so it is included in the RUBE download.
Rcreviews.lt is not the owner of this text/video/image/photo content, the real source of content is Youtube.com and user declared in this page publication as Youtube.com user,
if you have any question about video removal, what was shared by open community, please contact Youtube.com directly or report bad/not working video links directly to video owner on Youtube.com. Removed video from Youtube.com will also be removed from here.
Watch more videos
-
#Shorts massive servo wire attack
About 200 packs and 1000 servo leads in free fall For many many many planes to build! #shorts ... -
Dirt bike and quadbike event at Crazy Ferma 2022-02-06
Another great winter event for dirt lovers. This time it was really bad weather, frozen fingers,... -
HEE Wing F-01 Ultra Delta Wing 690mm - upgraded Mini AR Wing? Diatone Reaper 690
Heee Wiiiinggggg - an 690mm triangle wing, with big battery bay, and up to 220 km/h speeds! Easy...

Advertising