I’m developing a basketball game where there are levels and challenges etc and each levelight have 3 or 4 balls to try and succeed. Each time the ball is thrown the process is:
Camera follows ball
When isHit timer starts
When timer finished, new round is called
‘Old’ ball disappears
‘New’ ball rolls in
Start over.
What I want to do now is create a free throw or practice round where there are an infinite amount of ‘lives’ and a 90 second time limit to basket as many as possible. Once isHit each ball might last 6 or so seconds before disappearing, but in that time the player could have thrown another 4 balls ( maybe more ).
Using my existing code I tried to assign a new ball object to free up the main ballObject so it could. E thrown again but this was messy and didn’t really work.
Is there an easy way to manipulate a single main object code to do what I want or do I need to do the ball object code over with a different method.
Any help is greatly appreciated [import]uid: 157954 topic_id: 30946 reply_id: 330946[/import]