Jump to content
  • Advertisement
Sign in to follow this  

Physics engine for Mario 64 like platformer?

This topic is 2263 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm aware of the list, but I'm not sure what of those libraries would be more suitable for this game. The game has a static 3d world and spheres that can bounce when they collide with a wall. So... what is the simplest library for this work?

Thank you very much guys!

Share this post


Link to post
Share on other sites
Advertisement
To be honest, most platformers disobey the laws of physics so much that a physics library isn't even used. What's usually done for "physics" in a platformer is simple collision detection, very simple collision resolution, and a couple simple hacks for gravity and maybe friction. It's usually easier to implement these basic things yourself than twist a pre-existing physics library to disobey the laws of physics so much.

Share this post


Link to post
Share on other sites
Can you suggest a good collision detection library? The best I could found was limited to AABB and Spheres. I'm using Javascript so I guess I would have to convert it by myself, so I would really appreciate a readable/modifiable library that allows collision checking for any mesh.

Share this post


Link to post
Share on other sites

Box2D is the one you want

No, it isn't since it doesn't do 3d.

Chance are high that actually spheres and boxes are perfectly adequate. You can built collision hierarchies out them to handle more "complicated" shapes. Actually as long as you don't need polygon collision I wouldn't even bother with a library. AABBs and Sphere collisions are trivial... pretty much one liners actually.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!