Last Raycsthit length

As i understand the length of the raycast is dependednt on the size of the transform so it only updates quite near to the navmesh. is it possible to update it from any distance to the ground so my object is always facing the navmesh ?

Hi

Currently, this is not configurable, I’m afraid. You’d have to modify the AIBase.cs source code.

@aron_granberg So there is no way that i can turn my AIPathAllign to surface always to the mesh? Not even with custom raycast? My problem is i dont quite understand how to rotate the movement plane

Edit: I implementet my own version now

closed

1 Like