I need some help making a function that returns if there is an object between an AIPlayer and any other object. The function should work without having the aiplayer stare at the object (for the raycast).
Example:
3D WORLD:Object <------ fxDTSBrick <-------- AIPlayer
= Return fxDTSBrick object ID
Example of no obstruction:
3D WORLD:Object <------------------------------ AIPlayer
= Return object ID