Thanks. As it happens I have been playing with that code. It's very nice too.
For defining circular areas though the process would be fairly long-winded and prone to error. Still, if line/ball intersection is the way to go then the effort is worth it
Secondly, what about slopes in the ground?
By now you can guess I am thinking of a 2D golf game type thing here
Any ideas how you would tackle slopes like this? ..
For defining circular areas though the process would be fairly long-winded and prone to error. Still, if line/ball intersection is the way to go then the effort is worth it
Secondly, what about slopes in the ground?
By now you can guess I am thinking of a 2D golf game type thing here
Any ideas how you would tackle slopes like this? ..