Page 1 of 1

Bad hitbox

Posted: Thu Jan 16, 2020 8:01 pm
by Boozy
I'm reeally not sure how youre handling these colliders on your objects but something is just very off. Very notice on my gunman class.

if youre using 2d colliders in a 3d environment because you're obviously using spirtes that could be why. I can't remember if you can add 3D colliders on 2d spirtes in Unity but that would make more sense in my opinion because you're trying to make the players believe its in 3D space, thus you need 3D colliders.

If you ARE using 3D colliders... Then im stumped. The bullets prefabs just have to have a 2D collider on them, because they missing 5 out of 6 shots it feels almost like youre just shooting a flat line hoping to hit any part of the enemy collider. feels flat.

Re: Bad hitbox

Posted: Sun Jan 19, 2020 3:48 am
by Jakub34
I notice that if you shoot an enemy from below them, the bullet will not hit.
Image