|
Hello =) Im having trouble with my combat system , I made one simple before where it just casted a raycast and it worked , But now i noticed it was kinda buggy , and you could even hit yourself sometimes . Well basicly I want to find all objects in an arc infront of me and send the damage input , yet i cant figure out how to do it :/ (Im a java script coder) Thanks in advance , Utaelilya =)
(comments are locked)
|
|
Maybe you could use Physics.SphereCast, I never used it. If you want to send damage around you, you could use Vector3.distance("startingpoint".position, "endpoint".position)
(comments are locked)
|
