How do I make 2D Physics?

Please give me a example on how to make physics, For example collision physics as seen In here
image
What I’m trying to say Is that How do I make collision physics?
And No I’m not doing Verlet Integration.
If it is the only Type of Physics I could Do in the Wick Editor Then fine.
But I do Want to find out how to do collision physics Since I already Got gravity.

Note: How I got gravity was from The post “I dont believe in gravity anymore”.

2D physics is, uh, really hard to make… i don’t think anyone here has made true physics in any form. as a physics student right now, there are so many things to take into account that it would be really hard to replicate.

i suppose you can look online (youtube probably) for guides about making 2D physics from scratch.

1 Like


I want to know a step by step on how to do something like the Forum page Up there.
I need one of the users who knows how to do 2D physics step by step.

I hope Someone Comes.

Ok, I’ve been on break so I haven’t really been going on the forum at all, but here’s the main rules my simulation follows.

All objects are circles

If two objects’ distances are < obj1.radius + obj2.radius, they have collided
Basically, make them “point towards” each other and move 1/2 of their combined radius backwards
Velocity is calculated by taking current pos - previous pos (this is what verlet integration is)

that’s basically it.