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); Object.Destroy(this.gameObject);
// detach the following parts: // detach vehicle parts and apply explosion force on them
// - doors
// - wheels
// - bonnet
// - boot
// - windscreen
// - exhaust
string[] startingNames = new string[] { "door_", "wheel_", "bonnet_", "boot_", "windscreen_", "exhaust_" }; string[] startingNames = new string[] { "door_", "wheel_", "bonnet_", "boot_", "windscreen_", "exhaust_" };
Vector3 explosionCenter = this.transform.position; Vector3 explosionCenter = this.transform.position;