[UNSOLVED]Destroyable objects

How to get destroyable objects in jme3?

I want to model a castle in Blender. When it gets attacked, it should get destroyed.

Is it possible, to remove parts of the castle object at run time, to achieve effects like wholes in the castle walls?

Or should I make animations, how parts of the castle get destroyed and update the castle model bounds and so?

Is it possible, to remove parts of the castle object at run time


Make your model with several geometries that represents its parts, and when it gets attacked, detach the atacked part from its parent.

to achieve effects like wholes in the castle walls?


It's not easy, but it's done through mesh deformation, but you can do a fake for this, or do what the terrain editor does to lower terrains. Then check the source code.
1 Like