I'm to make a limited range lightning bolt but I can't figure out how to determine the distance of the object. How do I determine range between objects?
Develop games in your browser. Powerful, performant & highly capable.
Distance(1x,1y,2x,2y)
Cheers...