Skip to content

caioraphael1/jolt-odin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jolt-Odin

  • A binding for jrouwe/JoltPhysics, using the amerkoleci/joltc C interface.
  • The initial binding file was generated with the help of karl-zylinski/odin-c-bindgen, later to be edited a lot to improve compatibility, documentation and to resolve some binding issues.
  • Check the examples folder for a demo of containing Static, Dynamic, and Kinematic bodies.
2025-06-23.10-22-05.mp4

My Experience

  • This is a WIP, but the binding has improved a lot. I'm currently using it in 2D game without any issues.
  • If you are aiming for vehicle support, the binding is still a bit lacking. I'll be working on this in the future.
  • There are a few features missing for skeleton and ragdoll, such as animation and poses; so not that usable depending on what you're aiming for.
  • I haven't messed around with the DebugRenderer, as I just went for Raylib for simplicity. Let me know if you find something weird.
  • My recommendation is to pay attention to the AssertFailureHandler procedure and act on it as soon as something is detected.
    • The libraries have assertions enabled by default, as it is important for this moment in development. If you want to disable this and have a lib a bit faster, feel free to rebuild the binaries.

Platforms

  • I'm currently testing on Windows x64.
  • There shouldn't be any reason for it not to work on Linux/macOS, but I haven't tested that yet, so you'll have to build the binaries and edit the foreign import lib.

Questions

  • Any questions or suggestions, feel free to open an issue.
  • If it's pure Jolt related, the official documentation jrouwe/JoltPhysics / JoltPhysics will probably suit you best.

About

Jolt binding for Odin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages