My goal is to be able to have a Terrain be deformed by missle explosions, where the terrain will be deformed by a given Sphere's geometry, or some other explosion geometry.
I was wondering if anyone had any details on how to do terrain heightmap deformation in Java Monkey Engine. I noticed someone posted on the JME forums:
you can deform hieght maps i had a demo where this animation ran cirlces in what was "snow" and every frame i would grab the characters position and take that point on the height map and put it down to zero. Only problem was i never found a good way to reset the point so it looked like snow accumulation, also keeping track of where the model had been was also a problem.
Does anyone have any source code that performs this stuff, or point me to what to look at in the API? Thanks!!
I'm thinking that if I take a look at the ClothPatch implementation I could get some ideas on how to deform a given TriMesh when it collides with another TriMesh.