matthias-research / pages

My web page containing all the demos from my youtube channel "Ten Minute Physics" www.youtube.com/c/TenMinutePhysics
655 stars 136 forks source link

Typo/Bug with Tetrahedralizer #11

Open hamzakubba opened 2 years ago

hamzakubba commented 2 years ago

Hi there!

I noticed a typo/bug while watching your video about this plugin. Namely, one of the directions is incorrect, which results in one missing direction and one duplicate. This line should have -1 on the X coordinate rather than the Y coordinate, I believe: https://github.com/matthias-research/pages/blob/master/tenMinutePhysics/BlenderTetPlugin.py#L44

Thanks for your videos! :)

PS: While I'm here, a quick q, is xpbd a good solution for simulating cube or cuboid physics? Mainly collisions with each other and perhaps with spheres.