This commit is contained in:
in0finite 2020-06-20 20:15:29 +02:00
parent 775af9f9cb
commit d4078d250e

View file

@ -92,13 +92,7 @@ namespace SanAndreasUnity.Behaviours.Vehicles
Object.Destroy(this.gameObject);
// detach the following parts:
// - doors
// - wheels
// - bonnet
// - boot
// - windscreen
// - exhaust
// detach vehicle parts and apply explosion force on them
string[] startingNames = new string[] { "door_", "wheel_", "bonnet_", "boot_", "windscreen_", "exhaust_" };
Vector3 explosionCenter = this.transform.position;