Precise Raycast Issue

I’m having an issue with precise raycasts. In my tower defense game I’m making an enemy that spawns other enemies. The problem is, those enemies do not turn at the corners correctly. I have confirmed that they are casting in the right directions, they are just not hitting the turn blocks. Here is my question: When do raycasts not hit? I have a feeling it has to do with the enemies spawning a pixel or two from where they’re supposed to.

Edit: The bug only happens when the summoner is moving downwards

1 Like

try using the emit behavior


1 Like

emit is actually pretty imprecise and for this I need precision


Star Platinum

But seriously though I think you need to try different raycast directions

1 Like