[UNSOLVED]Destroyable objects (2 posts)

  • Profile picture of asm1 asm1-2p said 4 months, 1 week ago:

    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?

  • Profile picture of glaucomardano glaucomardano252p said 4 months, 1 week ago:

    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.