Throw and retrieve actor
Posted: Sat Feb 11, 2006 7:31 am
Hey,
I am having some trouble with creating an actor only when one is not on screen. I shoot a ball and if it hits the correct object then it is destroyed - fine. If it hits the wrong object it just sticks to it - this is working and just what I want. My problem is that if the ball is stuck to an object or if it is flying through the air then I don't want to be able to create another one. So there is just one ball that you throw and go pick up again. Is there a way to create on actor only if that actor is not anywhere on screen?
Thanks for any help!!
I am having some trouble with creating an actor only when one is not on screen. I shoot a ball and if it hits the correct object then it is destroyed - fine. If it hits the wrong object it just sticks to it - this is working and just what I want. My problem is that if the ball is stuck to an object or if it is flying through the air then I don't want to be able to create another one. So there is just one ball that you throw and go pick up again. Is there a way to create on actor only if that actor is not anywhere on screen?
Thanks for any help!!