- Home /
Is there a way to create an overlap custom-shape?
Basically I wanted to create something similar to League of Legends' Cassiopeia: Petrifying Gaze, or Annie: Incinerate.
The first thing that came into my mind was using OverlapCircle but since the shape couldn't be modified, I wanted something else. I've also seen the PolyContainsPoint and thought that it might not be optimal since we want to have different sizes/colliders for our game characters (we don't exactly want the point in position since we have to take note of the bounds).
When checking with the old Warcraft 3 engine, I noticed that their "Cone Attacks" or some breath attacks in WoW use a moving projectile instead of an immediate check and I'm not sure if I should approach it in that similar way.
Things that came to my mind were stuff like using a RaycastAll shooting similar to a cone, or using the cone as the guide to Raycast horizontally across the cone as it increases in size. Any help is much appreciated :)
Your answer
Follow this Question
Related Questions
Triggers not changing cameras 2 Answers
Make Character Controller a Box? 2 Answers
Grounded Only on One Layer 1 Answer
Collision Not Responding 1 Answer