Terrain editing in real time

I want to be able to allow the user to edit a terrain mesh in real time, so that it looks like the character is digging into the ground. unfortunately i haven’t a clue how to go by doing it. I’m new to jmonkeyengine and I’m still rather rusty with java, so I’m still working with the code given in the jme3 tutorials. For this, I’m using the Terrain Collision code.

Any further tutorials, documents, links, advice, hints, anything that could help with my problem would be greatly appreciated.

-thanks :slight_smile:

TerrainTestModifyHeight.java does what you want.

Cheers man!!