I messed around with detecting objects with GetFreeDestination. While it works its incredibly slow due to calling the GetFreeDestination-method too often.
Here is the script:
Scanner script help.
Here is the script:
Code:
static readonly float maxdistance = 500; static readonly float distanceMarkers = 400; static readonly float scanticks = 30; // ticks to scan the whole surroundings static readonly int angleResolutionPlane = 7; int currenttick = 0; int approxsteps = 5; // distance approximation steps float...