Use the teleport "hitPoint" instead of "newPosition" when calculating navNode....
Use the teleport "hitPoint" instead of "newPosition" when calculating navNode. made a separate "resetPositionOnNavMesh()" function specifically for use with teleport instead of cloberring everything into "setPositionOnNavMesh()".
Loading
Please register or sign in to comment