Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Add 3D physics support using Jolt Physics #35

Open
MrOnlineCoder opened this issue May 4, 2024 · 1 comment
Open

Suggestion: Add 3D physics support using Jolt Physics #35

MrOnlineCoder opened this issue May 4, 2024 · 1 comment
Labels
feature Feature

Comments

@MrOnlineCoder
Copy link

MrOnlineCoder commented May 4, 2024

Although I am not sure on your exact plans for the project and whether 3D-based games would be the main target for the Elven, I would suggest experimenting adding a 3D Physics engine at some point of time, aside from Box2D for 2D.

And for that I would suggest: Jolt Physics which is open-source C++ physics engine with a ton of features. Initially it was created as in-house engine for Horizon: Forbidden West, which I think is a good marker too.

I have personally created simple simulations with it and enjoyed it a lot, a bit more compared to Bullet or PhysX. Aside from built-in multithreaded support, it also supports double-precision simulations and even determinstic simulations. The documentation is fine and even if something is missing - the maintainer helps you quite fast in the Discussions section.

I understand that this can be a pretty broad and complex feature, but here I am just suggesting one of possible solutions to consider in future. Feel free to share your opinion on that.

@denyskryvytskyi
Copy link
Owner

denyskryvytskyi commented May 4, 2024

I've started developing Elven for learning purposes and improving my knowledge and skills almost 5 years ago.
But, I strongly believe that an actual game should be the main objective behind the game engine. As you see, I've developed some games to test the 2D part of the engine.

I'm more focused on computer graphics and multithreading for now and my personal plans for the near future are Rendering (Shadows, Deferred Rendering, PBR, etc.) and Job System. Then Vulkan support for future plans.

So, It would be great if you integrate physics and experiment with it in the context of Elven Engine.
I appreciate your effort :)

Jolt Physics library looks great to integrate! Approved :)

I've also considered Box2D for 2D physics. By the way, there is a task for this already. You may integrate a 2D one within it.

Some points about working on Elven Engine:

  • Please, create (or use created one) task per feature and drop it onto the project board
  • As you may notice I'll try my best to develop Entity-Component system at the core of the engine. So, please develop new features in the mind with it.
  • Feel free to contact me for clarifications on the engine or any questions.

@denyskryvytskyi denyskryvytskyi added the feature Feature label May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature
Projects
Status: Todo
Development

No branches or pull requests

2 participants