anm-ol / sim3d

https://anm-ol.github.io
6 stars 1 forks source link

Add constraint and spring physics. #22

Closed anm-ol closed 4 months ago

anm-ol commented 5 months ago

Add physics solver for contraints and spring Add rk4 algorithm for more accurate simulation. Add substeps

anm-ol commented 4 months ago

substepping added with commit e3d12d7bfc30665160948d04b188ed97f93b8e84 Verlet integration commit afcdec6ed831c358a7497cb4bcf1e04b82a9a248 Incomplete spring logic commit ed337c154246ff95f0f6233702ae88e97774c731

its-nmt05 commented 4 months ago

Furthur additions made: Set pivots with gui: a4a21b601452b99efac94d35e13debbcc2f41598 Added pivots: 11e7764cdd4f8ea85fba5ee6c14cf65f7974df88 Damping added: 69095e646be6146d8bcab9c4050c9a4dc8b17e52 Spring rendering: 360434d49d6e4053c27dbb2c7faaaf2441bfeff7 Improve spring physics: 2c66162fc1134f7084aaba5e06137ee362742e50 Spring handler added: de2b5f6d9e6fc7870af73a75709c5072c6cccc0f

its-nmt05 commented 4 months ago

Feature is more or less integrated now. Minor bug fixes may be done later.