|
i want to disconnect a rocket that is attached to a helicpter when it is fired , but it is connected in a hierarchy, so if a move the rocket and then move the helicpter , the rocket would still be attached, so how do i disconnect it within a script
(comments are locked)
|
|
Just set the rockets transform.parent = null. cheers, not realise it was that simple , or were the code was , cheers
Jul 24 '12 at 03:46 PM
thedodgeruk
No problem - please tick the question as answered :)
Jul 24 '12 at 05:45 PM
whydoidoit
(comments are locked)
|
