- Home /
put a range between two degrees into code ? see image .
i have a disc contains 3 areas , i want to attach each area with an angle between two degrees to detect collision with specific spheres , ex : from 0°to 120° is for for sphere A and so on .........so how do i put this into code ? i hope this isn't too much , but i really need this , thank you !
hzergrtg.png
(29.9 kB)
Comment
Best Answer
Answer by xxmariofer · Jul 26, 2019 at 10:32 PM
you basically want an implementation of color switch in unity? https://www.youtube.com/watch?v=gE7gc1sblUA
Your answer
![](https://koobas.hobune.stream/wayback/20220612205552im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Player movement ignores some collision 0 Answers
Problems with 2D Collision 3 Answers