Dear all,
I've been working on my first gaming attempt. It's basically pong with baseball bats. The idea is the you can swing your bat and therefore accelerate the ball. Everything is basically working except for swinging of the bat.
I want the bat to swing (approx. 270degrees) and then after 2 seconds return (wait function) to the original position.
how do I do this?