i have several models that have missile attached to the model , which i fire.
and destroy upon impact , this works fine.
but i want to be able to re-load these missiles , but there destryod.
i have tryed a couple of work arounds but nothing works correctly ,
is there a way to from the model , when i select a part of the model and drag it to the instpector, into a gameObject , is there a way that it will identify its prefab assoate so that i can generate from the prefab , without manually draging it from the prefab to the script its self
Instantiating spawns a chosen prefab at the location, and rotation which you want it to. So when the missile is destroyed you can Instantiate another one at the weapon’s location.