- Home /
Question by
Uraz25 · Sep 14, 2021 at 08:23 PM ·
raycastcollision detectiondetectionprediction
Collide prediction
There are two swords standing some distance away from each other. Setting their Z rotation with sliders on the screen. On simulate button click, they rotate on y-axis and collide (or not).
Each time slider.onValueChange i wanna predict if they will collide or not.
I thought like creating cone shaped collider (Idk how to do it). If i can create it, i'll enable those colliders and see if there is any collision. My goal by creating these kind of colliders is when a sword rotates it draws a semi-cone or quarter-cone shaped. You got what i mean?
My question is: how to predict, actually detect it?
ekran-alıntısı.png
(31.4 kB)
Comment