ForumsProgramming ForumPlatformer physics?

2 1752
sammygood
offline
sammygood
5 posts
0

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
256 posts
60

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

Annihalation
offline
Annihalation
481 posts
370

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 "physics" is the real question lol.

Showing 1-2 of 2