mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-23 12:33:02 +00:00
cleanup
This commit is contained in:
parent
775af9f9cb
commit
d4078d250e
1 changed files with 1 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue