engine3d-dev / engine3d

Open-source game engine to be used for developing games
Apache License 2.0
1 stars 3 forks source link

Physics Environment #34

Open SpinnerX opened 3 weeks ago

SpinnerX commented 3 weeks ago

Setting up Physics Environment

What my thoughts are for having a physics environment is this should be set up by Engine3D. The game developer does not need to set this up.

Physics should already be applied. The developer just decides on what sort of physics components they would like to enable/disable.

Note -- this would require an ECS and basic Scene features in place hopefully.

Something to think about is we should be able to press the play button on the editor to run the physics simulation. Whether this is a sphere rolling down a plane.

We should be able to play and stop the simulation making the objects return back to their original positions of where they were at the start of the simulation.