QB64 Phoenix Edition
2D Physics Engine Help - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1)
+--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3)
+---- Forum: Help Me! (https://qb64phoenix.com/forum/forumdisplay.php?fid=10)
+---- Thread: 2D Physics Engine Help (/showthread.php?tid=1749)

Pages: 1 2


RE: 2D Physics Engine Help - TerryRitchie - 06-16-2023

(06-12-2023, 09:34 PM)justsomeguy Wrote: I'm mechatronic3000.

I have been working on my physics engine (its 100% written in QB64) to make it more generalized and refactoring large portions of it to be easier to use. Its far from being feature complete.
  • It currently has only two primitives, rectangles and circles. Concave objects are not supported yet.
  • It has joints and you chain them together.

I've attached a simple example program.

Forgive my poor example, It was the only one I had to test the latest version of the refactor.

I'm using OpenGL in this example, but it can easily use native QB64 commands if you wish.

If you guys want I can post more about it.



[Image: screenshot.jpg]
Yes, please do. I've been playing with it (see the DM I sent you) and have some of it figured out. Documentation on features and how to use/setup the engine would be really helpful.

Cool stuff!