Hi there how can I script a collectable when hit will release time to my race and how can a collectable gives me a speed burst for 3 secs.
I dont know where to begin with.
THX
Hi there how can I script a collectable when hit will release time to my race and how can a collectable gives me a speed burst for 3 secs.
I dont know where to begin with.
THX
Here’s a few places to start:
Look at some tutorials on Triggers (e.g. here and here) to help you figure out how to do stuff when your car and the collectable collide.
The speed boost is a simple matter of changing your car speed. Looking up info on WaitForSeconds will help you figure out how to change it back after 3 seconds. (The yield command with it is a bit tricky for beginners, but a search here will give you lots of help on it.)