mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-20 10:02:56 -04:00
Added TurretAI
- Added vehicles - Tweaked AI to consider opposite faction-aligned Installationobjects enemies - Added turret shooting at NPCs - Debugged actors
This commit is contained in:
@@ -54,6 +54,8 @@ public class AIService {
|
||||
|
||||
// TODO: implement cell pathfinding, returning straight line for now
|
||||
Vector<Point3D> path = new Vector<Point3D>();
|
||||
if (pointA==null || pointB==null)
|
||||
return path;
|
||||
path.add(pointA);
|
||||
float x = pointB.x - 1 + new Random().nextFloat();
|
||||
float z = pointB.z - 1 + new Random().nextFloat();
|
||||
|
||||
Reference in New Issue
Block a user