I am trying to raycast downwards to the ground, doing it on a baseplate works well
But if it’s terrain:
Same goes for my earlier attempt:
I don’t know WHY and HOW this is even possible, all I do was raycasting downwards.
I can’t show the script to y’all right now, but the only difference between the given origin and the direction is the Y-Axis and that’s it.
It’ll be great if know what’s behind all this and how to fix. Thanks.