ForumsProgramming ForumPlatformer physics?

2 4949
sammygood
offline
sammygood
5 posts
Nomad

Hi, basically I am making a small block-based platformer, but I am having a bit of trouble with the physics. I have already tried out many different ways of making the physics, but they all seem to have major glitches in them. Could anyone give me a way of making simple physics, and possibly give a small example? Thanks

  • 2 Replies
plasmafish
offline
plasmafish
252 posts
Nomad

It really depends on what kind of collision detection you want.

Annihalation
offline
Annihalation
479 posts
Nomad

You need just a wee bit more information

You could use basic Conic Section formulas to make realistic jumping/falling physics, or maybe hit-testing to make wall collisions work. What do you mean by &quothysics" is the real question lol.

Showing 1-2 of 2