AI object shoots in Y (vertical) direction?

hello, im following the tutorial the author posted on youtube, im following him step by step but idk why the AI just shoots upwards, regardless of where the target object is… what’s the setting that i got to tweak for this?
btw its a 3D scene and not a 2D

Hi

I would guess that the raycast used to position the character on the ground hits the character itself. Make sure that the ‘ground mask’ field does not include the layer that the agent itself is in.

thank you, worked now. was just as you said :slight_smile:

1 Like