2D physics simulator Tech Demo
Loading...
2,957
Loading...
Uploader Comments (Robinerd)
Video Responses
This video is a response to Phun - 2D physics sandbox
see all
All Comments (25)
-
@Robinerd Thanks, man. I have all the time in world!
-
@Robinerd good luck then!
-
@ferminho thank you! I'm participating in the swedish game awards contest, so the deadline is in May next year I think, but I will probably have some demo available this year :)
-
Interesting that you'd do this engine instead of using any of them available... this surely has a lot of work underneath. Congratulations, looking very nice so far!
When will we see something of the game? ;)
Loading...
i really felt like killing myself after watching that...
Eliminator3030 7 months ago
@Eliminator3030 now now, I'm sure you'd be able to make something like this if you just had enough time and interest ;)
Robinerd 4 months ago
I liked the demo a lot. Not an open source type, though, are you?
w104bgs 1 year ago
@w104bgs 8 months later.. the source code is now public! Check the description ;)
Robinerd 4 months ago
hey this is realy good engine but how do you get that center of mass? and how do u calc inertia and other stuff...
deluksic 1 year ago
@deluksic first of all I loop through the drawing area to find objects. Each time a colored pixel is found, I iterate through all adjacent pixels recursively and also mark them as visited. Since all pixels of an object have equal density, the center of mass is found by averaging the coordinates of all pixels in the object. Similarily you can get inertia by averaging the distance to center of mass for each pixel. To support non-homogenous objects, you just have to multiply with each pixel's mass
Robinerd 4 months ago