Categories
Game Creation Mastering Development

A* Pathfinding issues, player node is always off

so I am using Sebastian Lague’s second video on A* pathfinding (https://www.youtube.com/watch?v=nhiFx28e7JY&list=PLFt_AvWsXl0cq5Umv3pMC9SPnKjfp9eGW&index=2), and since he is using a 3d model, and I am using a 2d model, I need to convert some of the values to 2d. It is working fine, but the problem I ran into is that the node that detects the player […]

Categories
Development Game Creation

Hello Every one, I was studding A* Algorithm and its is Showing nullObjectException n OnGizmos Function

I was studding A* Algorithm and its is Showing nullObjectException n OnGizmos Function when ever it complete Compiling the Code here is my Code Can anybody Tell me what i am doing Wrong; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace PathFinding { public class Grid : MonoBehaviour { public Transform Startpostion; public LayerMask Layer_Mask; public […]