This is a c++ library which implements core features of a physics engine. The core concepts for now are:
- events handling system
- velocity calculation
- collision detection and collision responses
The project is open to collaboration at my GitHub account as there are plenty of ideas for new functionalities. This program is a base for my Master's degree research about soft bodies simulation.
- C++20 Compiler: Ensure you have a compiler that supports C++20 (e.g., GCC 10+, Clang 10+, or MSVC 2019+).
- CMake: Required for building the project. Install the latest version from CMake.
- SFML 2.6.x: The project depends on SFML version 2.6.x.
- Add the following to your
CMakeLists.txt
file:include(FetchContent) FetchContent_Declare( BartaEngine GIT_REPOSITORY https://github.com/Bartanakin/BartaEngine.git GIT_TAG main ) FetchContent_MakeAvailable(BartaEngine) target_link_libraries(target PRIVATE BartaEngine)
- Clone the template repository
git clone https://github.com/Bartanakin/BartaEngineSandbox.git
- Proceed if you want to develop BartaEngine as well
- Clone this repository
git clone https://github.com/Bartanakin/BartaEngine.git
- In BartaEngineSandbox in
CMakeListst.txt
in the root directory change FetchContent_Declare:FetchContent_Declare( BartaEngine SOURCE_DIR /local/path/to/BartaEngine )
- To ensure your pull request passes the GitHub Actions checks, I recommend using clang-format 19 for code formatting. As for 20-11-2024 it is still unofficial version that you can download from here.
- All the current issues are at the Issues section.
- You can join the development community: write to me on Discord #Bartanakin or email me
[email protected]
to be written down :)