Show / Hide Table of Contents

Class PathFinder

Inheritance
System.Object
PathFinder
Namespace: Eco.Simulation.Pathfinding.Internal
Assembly: Eco.Simulation.dll
Syntax
public static class PathFinder : Object

Methods

FindPath(Vector3, Vector3, PathRegionType, PathfindFlags, Boolean, Boolean)

Declaration
public static Path FindPath(Vector3 startraw, Vector3 endraw, PathRegionType regionType, PathfindFlags flags, bool allowDifferentYOnStart = false, bool allowDifferentYOnEnd = true)
Parameters
Type Name Description
System.Numerics.Vector3 startraw
System.Numerics.Vector3 endraw
PathRegionType regionType
PathfindFlags flags
System.Boolean allowDifferentYOnStart
System.Boolean allowDifferentYOnEnd
Returns
Type Description
Path

FindPathInDirection(Vector3, Vector3, Single, Single, PathRegionType, PathfindFlags, AnimalSpecies)

Declaration
public static Path FindPathInDirection(Vector3 startraw, Vector3 dir, float minDistance, float maxDistance, PathRegionType regionType, PathfindFlags flags, AnimalSpecies species)
Parameters
Type Name Description
System.Numerics.Vector3 startraw
System.Numerics.Vector3 dir
System.Single minDistance
System.Single maxDistance
PathRegionType regionType
PathfindFlags flags
AnimalSpecies species
Returns
Type Description
Path
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾