I've downloaded some 3D vehicle models that I bought from the Asset Store, because I don't know how to create 3d models.
These objects have different meshes for different vehicle parts: steering wheel, doors, body, lamp lights, hood etc.
I would like to simulate an explosion and apply physics impulses to each of the parts.
I've tried this flow:
Create a rigidbody for each vehicle part, set its weight and set:
isKinematic = true; useGravity= false;
Create a mesh collider for each part and disable it
Create a main box collider for vehicle
When a bullet, or other explosive object, hits my vehicle, I've tried to use a script to enable these components on the parts: rigidbody (isKinematic = false, useGravity=true) and mesh collider, and, obviously, apply a force explosion.
The problem is that it's not possible to enable a mesh collider at runtime for performance reasons (it lags a lot, and this does not depend on PC/Hardware power, but depends from graphics pipeline).
So my question is: how can I simulate an explosion by applying forces to individual vehicle parts?