AI Random Roam area clamp

AFAIK means “as far as I know” and you can do it like this:



And you would then call “GetRandomPointInNavigableCone”.


That above will generate points in a cone with a certain orientation. If you want to generate them based on some cone direction, you would need to rotate the generated points around the origin (by the degree you want the cone to be rotated).

EDIT: And “Angle Range” should be in degrees (the sin and cos there are in degree)