Function JobRVO.CalculateForwardClearance
        
                CalculateForwardClearance
        
                (NativeSlice<int> neighbours, MovementPlaneWrapper movementPlane, float3 position, float radius, float2 targetDir)
    
            
            Find the distance we can move towards our target without colliding with anything.
                Public
            
        float CalculateForwardClearance (
NativeSlice<int>  |     neighbours  |         |
MovementPlaneWrapper  |     movementPlane  |         |
float3  |     position  |         |
float  |     radius  |         |
float2  |     targetDir  |         
Find the distance we can move towards our target without colliding with anything.
May become negative if we are currently colliding with something.