I've been attempting to create a script that does what is essentially a Physics2D.Overlap style collision check for a 2D Cone. This is for melee attack animations where I want very specific frames along the animation to contain a cone. I have all the animation stuff worked out, I have the combat logic worked out, but the actual collision check of my script is not working quite that well. Enemies will seemingly not get detected when they definitely should be. Is there something wrong with my IsWithinCone() method? Is there a better way to handle this? I was thinking about just using Raycasting but I feel like that will have it's own issues.
#2D Cone "Overlap" Collision
1 messages · Page 1 of 1 (latest)