mobile default starting point

This commit is contained in:
2023-05-28 12:56:47 -05:00
parent 67808b69a6
commit bfcdd3bf4b
+2
View File
@@ -1980,6 +1980,8 @@ public class Mob extends AbstractIntelligenceAgent {
Vector3fImmutable newPatrolPoint = Vector3fImmutable.getRandomPointInCircle(this.getBindLoc(), patrolRadius); Vector3fImmutable newPatrolPoint = Vector3fImmutable.getRandomPointInCircle(this.getBindLoc(), patrolRadius);
this.patrolPoints.add(newPatrolPoint); this.patrolPoints.add(newPatrolPoint);
} }
MovementManager.translocate(this,this.patrolPoints.get(1), null);
this.lastPatrolPointIndex = 1;
} }
if (this.BehaviourType == null) if (this.BehaviourType == null)
this.BehaviourType = this.getMobBase().fsm; this.BehaviourType = this.getMobBase().fsm;