bijington / orbit

The Orbit engine is a game engine built on top of .NET MAUI Graphics. The objective is to firstly enjoy the journey of building a game engine and secondly providing a framework that allows us to utilise the best parts of a cross-platform framework while building a 'typical' game.
289 stars 37 forks source link

Let's get physics all #14

Open bijington opened 2 years ago

bijington commented 2 years ago

Investigate some level of physics based functionality for the engine. This could either be as part of the main engine or a separate package.

First key functionality to address would be collision detection.

mgierlasinski commented 1 year ago

Hi @bijington, I would use existing engine like Box2D or Bullet, with custom C# wrapper or existing one like:

https://github.com/MackinnonBuck/Box2D.CSharp https://github.com/codingben/box2d-netstandard

As an alternative it could be something entirely in C# like: https://github.com/Genbox/VelcroPhysics

Writing physics engine from scratch will be too much work I think.

bijington commented 1 year ago

@mgierlasinski thank you for this suggestion! I am starting to wonder whether it could be a really good option! I really don't want to write a full physics engine so anything to reduce that effort would be fantastic :)