1
0
KF2-Dev-Scripts/Engine/Classes/Interface_RVO.uc

29 lines
659 B
Ucode
Raw Normal View History

2020-12-13 15:01:13 +00:00
/**
* Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
*/
interface Interface_RVO
native(AI);
cpptext
{
virtual FLOAT GetAvoidRadius()=0;
virtual INT GetInfluencePriority()=0;
virtual UBOOL IsActiveObstacle()=0;
virtual FColor GetDebugAgentColor()=0;
FORCEINLINE AActor* GetActor()
{
return Cast<AActor>(GetUObjectInterfaceInterface_RVO());
}
FORCEINLINE FVector GetLocation()
{
return GetActor()->Location;
}
FORCEINLINE FVector GetVelocity()
{
return GetActor()->Velocity;
}
virtual void GetVelocityObstacleStats( TArray<FVelocityObstacleStat>& out_Array, AActor* RelActor );
}