Class DetourDistanceCon
- Namespace
- VoxelPlayground.AI
- Assembly
- GamePlay.dll
[CreateAssetMenu(fileName = "DetourDistanceCon", menuName = "VoxelPlayground/AI/Consideration/DetourDistanceCon", order = 1)]
public class DetourDistanceCon : AIConsideration
- Inheritance
-
objectDetourDistanceCon
- Inherited Members
- Extension Methods
Fields
heightDiffIgnore
[Header("高度差太多,忽略。否则会拆房顶")]
public float heightDiffIgnore
Field Value
- float
range
[Header("检测寻路距离和视线距离的差,如果寻路远大于视线,则认为有障碍物")]
public float range
Field Value
- float
Methods
Evaluate()
public override bool Evaluate()
Returns
- bool