English Does anyone have (or made) a 2D physics system?

4 replies
Goto Page
To the start Previous 1 Next To the start
Up
Starkkz
Moderator
Offline Off
After a long trying to simulate some physics in 2D (using Lua), I managed to make a little football script on where you hit the ball and it moves depending on the angle between your position and the sphere, but I haven't managed to do similar stuff with boxes. I looked for some 2D physics system and I found bump (a 2D physics engine). But it does not have non axis-aligned collisions. So this is my doubt; does anyone have (or made) a 2D physics system that is made to work with spheres and boxes, rotated objects, velocity and acceleration, conditional collisions, etc? (working with callbacks if possible) I'm not able to make this yet because I don't know the objects behaviour on collisions (but spheres). I would highly appreciate a response.
edited 1×, last 21.05.14 11:22:11 pm
lol
21.05.14 06:59:21 am
Up
ohaz
User
Offline Off
You could search for Lua bindings for Box2D
https://ohaz.engineer - Software Engineering
21.05.14 09:59:20 pm
Up
FlooD
GAME BANNED
Offline Off
user Starkkz has written:
I don't know the objects behaviour on collisions (but spheres). I would highly appreciate a response.

then go learn some freshmen mechanics and figure it out lol

not that hard

i doubt you'd be able to make good use of any engine if you dont understand the basic physics
:(){ :|:& };: http://github.com/floood
21.05.14 11:22:00 pm
Up
Starkkz
Moderator
Offline Off
@user Pagyra: Hardon Collider seems a good module, I'll give it a try.

@user FlooD: If you're not going to post something useful, you shouldn't post. Also I do know how the basic physics work, but that doesn't mean I'll be able to know how they'll behave after a collision.

thread closed.
lol
To the start Previous 1 Next To the start