How to destruct/shoot a model piece by piece?

Just make a blueprint and decide what gets destroyed on it manually.

You can either do this with collisions from a projectile or a trace from the gun.

An interface for interaction would prevent casting and other issues.

The logic behind it would be individualized at the component level:
Was I hit? Destroy me and play whatever effect needed. Spawn a pysics simulated mesh of me, apply force to make it react with physics.

No real need for messy Chaos or Apex systems this way.

Also, it allows you to build models with unlimited number of parts you can interact with.

Be warned though:

The best approach for performance is to create a “manager”.
You add the manager to the blueprint.
The manager automatically does the job the individual parts would otherwise do.

This is so you add mesh components instead of child actors.
There are limits to how many actors you can have, while the limits on components are far higher.

As such, adding a single child actor (the manager) which automatically handles the response of all added components of the blueprint is preferable.

2 Likes