(07-06-2023, 03:08 PM)justsomeguy Wrote: I've added another demo to my 2d physics engine. Its a soft-body simulation using mesh of joints and circles. Use the UP and Down arrow keys to adjust the bias on the joints. The bias is how stiff the joints are.
I have included everything in the zip, obviously no assets.
I'm still working on the documentation.
More demos (in various phases of functionality) are available on my github.
This is impressive stuff!
New to QB64pe? Visit the QB64 tutorial to get started. QB64 Tutorial
I did a little gear train demo with the physics engine. Its a little slow and a bit janky, but it helped identify several bugs in the engine, which helps make it better.
It highlights a workaround for one of the weakness of the engine, and that is no concave objects, but nothing prevents attaching multiple objects together, also highlighted in the cutting board demo. The gears are made of a circle object and a bunch of triangles (gear teeth) attached to it. That's why if you look closely you can see the teeth twist a bit.
Before anyone asks, no you probably wont be able to simulate a whole clock. The escapement would be very tricky and it would be extremely slow.
08-07-2023, 10:47 AM (This post was last modified: 08-07-2023, 10:53 AM by justsomeguy.)
Yes, unfortunately that is the latest. Most is still relevant, some things have changed, and its still incomplete. I got side tracked with a740g's raylib library among other things.
However, I have been working on the physics engine and I push anything relevant to the github.
I will start working on updating the docs. Is their something in particular that you would like to me focus on in the documentation? If you have any ideas to make it more clear, Ill be happy to work on it.
Thanks for reminding me that I need to get back to that.
(08-07-2023, 10:47 AM)justsomeguy Wrote: Yes, unfortunately that is the latest. Most is still relevant, some things have changed, and its still incomplete. I got side tracked with a740g's raylib library among other things.
However, I have been working on the physics engine and I push anything relevant to the github.
I will start working on updating the docs. Is their something in particular that you would like to me focus on in the documentation? If you have any ideas to make it more clear, Ill be happy to work on it.
Thanks for reminding me that I need to get back to that.
I have been downloading the latest updates from Github and the work you've been doing is fascinating. I'm learning a lot from the examples you have included in the docs and the example code. I completely understand about getting distracted with new shiny objects as well. No worries and I certainly don't want to rush you.
On page 5 the docs show a bare bone implementation. Breaking this down into well explained sections would be very helpful with detailed explanations of the commands used and how they interact with the environment.
A command index, much like the QB64 Wiki, detailing each command and its use, setup, and example. There are so many commands to choose from, I want to know about them all.
Thank you for continuing the work on the engine. I have so many ideas floating around in my head. I can't wait to start playing with them.
New to QB64pe? Visit the QB64 tutorial to get started. QB64 Tutorial
Quote:On page 5 the docs show a bare bone implementation. Breaking this down into well explained sections would be very helpful with detailed explanations of the commands used and how they interact with the environment.
Since the last update I've made, making a scene, a little easier by making some things default. The demo still works and has no issues, but I need to fully update it in the documentation. I'm trying to keep from breaking user space, so most of the things you learn about the engine will still work.
Quote:A command index, much like the QB64 Wiki, detailing each command and its use, setup, and example. There are so many commands to choose from, I want to know about them all.
I'm focusing on fleshing out the command list now. Its slow going, there is over 200 subs and functions, 95% of which you will probably never use.
Awesome, I shall crack on then and whilst I always try to figure stuff out/learn the members here that know of me will agree that math is not my strong point so I may take you up on the asking questions!