is there one?
What I mean is that if you took 2 spheres, where one was a ball bearing and the other was hollow sheet metal and you dropped the ball bearing on the sheet metal one their would be a dent in the sheet metal one. does something like this exist in bullet?
I see gimpact is supposed to have deformable meshes but I couldn't find any function that actually does that. Plus the collision physics of gimpact models are quite bizarre at the moment anyway.
I played with soft meshes trying to get the results I needed but it doesn't seem to be possible with them.
Looking for a solver that acts like bending metal?
-
- Posts: 17
- Joined: Tue Jul 26, 2011 9:24 pm
-
- Posts: 144
- Joined: Fri Aug 01, 2008 6:36 am
- Location: Bonn, Germany
Re: Looking for a solver that acts like bending metal?
played with gimpact / deformation ...
see small demo
http://game-ws.googlecode.com/files/deform_r774.7z.exe
for source code look at this one, it is the same, but smaller
http://game-ws.googlecode.com/files/Hit ... emo_1.0.7z
see small demo
http://game-ws.googlecode.com/files/deform_r774.7z.exe
for source code look at this one, it is the same, but smaller
http://game-ws.googlecode.com/files/Hit ... emo_1.0.7z
Last edited by mi076 on Wed Jul 27, 2011 4:19 am, edited 1 time in total.
-
- Posts: 17
- Joined: Tue Jul 26, 2011 9:24 pm
Re: Looking for a solver that acts like bending metal?
Yes I saw that but in your source code version nothing actually deforms... So did you add something to bullet to do that or am I missing something?
-
- Posts: 144
- Joined: Fri Aug 01, 2008 6:36 am
- Location: Bonn, Germany
Re: Looking for a solver that acts like bending metal?
look for #ifdef TEST_DEFORM in HitTriangleDemo.cpp, ... access the array, modify vertices and call postUpdate()...
-
- Posts: 17
- Joined: Tue Jul 26, 2011 9:24 pm
Re: Looking for a solver that acts like bending metal?
ah ok, thanks!