Enfusion Script API
|
Public Member Functions | |
proto external void | Reset () |
Resets everything to default values. | |
proto external void | SetStraightPathCostModifier (float value, vector dir) |
Sets cost modifier which increases cost of graph edges aligned same way as the provided direction. | |
![]() | |
proto external ref Managed | Clone () |
Return shallow copy of object, or null if it is not allowed (not public constructor) | |
proto external void AIExtraMoveParams.Reset | ( | ) |
Resets everything to default values.
You must call this after creation of the object.
Sets cost modifier which increases cost of graph edges aligned same way as the provided direction.
Default value is 1.0 and thus does not affect anything. Values above 1.0 will make pathfinding favor non-straight path to destination. But it's impossible to know beforehand if the chosen path will flank left or right.