Added :RebuildNavMesh, .AutoGenerateNavMesh to the Environment service class
Added :SetNavDestination(vector3 Position), .NavDestinationDistance (readonly), .NavDestinationValid (readonly), .NavDestinationReached (readonly) to the NPC class
[x] The changes you've made are accurate and correct
[x] Distinct changes for separate issues are in separate PRs (do not combine multiple issues into one PR)
[ ] Any additions or modifications to the example code were tested in the latest version of Polytoria Creator and work as intended
^ I have not tested or used NPC pathfinding, however they are from the command line API dump and I asked Willem questions when needed.
Add NPC Pathfinding Documentation
Added
:RebuildNavMesh
,.AutoGenerateNavMesh
to theEnvironment
service classAdded
:SetNavDestination(vector3 Position)
,.NavDestinationDistance (readonly)
,.NavDestinationValid (readonly)
,.NavDestinationReached (readonly)
to theNPC
class[x] The changes you've made are accurate and correct
[x] Distinct changes for separate issues are in separate PRs (do not combine multiple issues into one PR)
[ ] Any additions or modifications to the example code were tested in the latest version of Polytoria Creator and work as intended
^ I have not tested or used NPC pathfinding, however they are from the command line API dump and I asked Willem questions when needed.