i need some help on this topic here...
i'll post a youtube link and describe it as well...
its from Tom Calancy's HAWX..
i want to create multiple bullets/ missiles/ etc.. to my space ship..
similar to the youtube clip..
does anyone have any ideas on doing this??
thanks for reading.. and your patience is highly appreciated..
All shots are 'instances' meaning a "shallow copy" of the original. They reference the same /mesh,position,rotation,etc/ of the original but will not be as costly as a "New" version of that prefab. In this case you will have one MAIN version of the shot (var myRocket) which can now be used in (var rocket=Instantiate(myRocket,'somePosition',Quaternion.identity) which makes the shallow copy, not quite as processor intensive as creating that same object from scratch with the same mesh,position,rotation as the original. In doing so you create a new way for unity to look at this "new" object(reference to the original), instead of looking at it as a completely new object entirely. This save speed and lines of code, and will be able to create 10 instances faster than 1 new org object of the same type.
answered Jun 20 '12 at 08:48 AM