|
public var explosionPrefab : Transform; function OnCollisionEnter(collidedObject : Collision) { my enemy car will be the target and if it gets hit 3-4 times by my player car, it'll die. how do i change the script so when it collisions with or is collided with PlayerCar its gets destroyed?
(comments are locked)
|
