Unreal Engine Game Development - Checking distances