Add AI components and systems for enhanced enemy behavior and pathfinding
This commit is contained in:
@@ -76,4 +76,9 @@ public struct Vector3
|
||||
|
||||
return new Vector3(X / length, Y / length, Z / length);
|
||||
}
|
||||
|
||||
public static float Dot(Vector3 a, Vector3 b)
|
||||
{
|
||||
return a.X * b.X + a.Y * b.Y + a.Z * b.Z;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user