Replies: 1 comment
-
One problem is that the resolution of the SDF is far too low: "resolutionSDF": [1,1,1], Otherwise I don't see a big problem. Can you post the complete scene file? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to make a deformable cuboid, and I would greatly appreciate any advice.
I am using this library to make a simple physics-based game. I would like to make deformable walls, so that a character can bump into a wall and cause the wall to ripple or bounce back. First, I am trying to make a simple deformable regular cuboid, but I have been having some trouble with this. Here is the process I am using:
make
./SceneLoaderDemo resources/scenes/newScene.json
Unfortunately, I've been having a few problems. The cuboid seems rigid and not really deformable, and it doesn't collide well with other objects (other rigid bodies clip through it or get stuck to it). I also tried a tet sphere through the same process, and for the sphere the collisions work well, but it also doesn't seem to deform. I have a couple of questions:
My apologies for the simple questions - I am new to graphics and I am not sure why I haven't been able to get this to work. Incidentally, I haven't found a tutorial or guide for this library, but if you know of somewhere I can find this information or some research I should do first, I would love to take a look.
Thank you so much for all your help!
Beta Was this translation helpful? Give feedback.
All reactions