A* Pathfinding Project

Tiny patch to move capsule gizmo down


Gizmo draws from middle of Rigidbody based agent above its head. It’s rather confusing. This moves the gizmo down a bit. For AIBase.OnDrawGizmos() line 688

			var pos = position;
			var h = tr.localScale.y * height;
			if (null != rigid) {
				pos.y -= h / 2f;
			Draw.Gizmos.Cylinder(pos, rotation * Vector3.up, h, radius * tr.localScale.x, color);