patrol point index
This commit is contained in:
1 parent
da378bf490
commit
33c6f1c74d
2 files changed
+12
-4
No files matched your search
@@ -1978,12 +1978,8 @@ public class Mob extends AbstractIntelligenceAgent {
|
||||
patrolRadius = 60;
|
||||
|
||||
Vector3fImmutable newPatrolPoint = Vector3fImmutable.getRandomPointInCircle(this.getBindLoc(), patrolRadius);
|
||||
if(i == 0){
|
||||
MovementManager.translocate(this,newPatrolPoint, null);
|
||||
}
|
||||
this.patrolPoints.add(newPatrolPoint);
|
||||
}
|
||||
|
||||
}
|
||||
if (this.BehaviourType == null)
|
||||
this.BehaviourType = this.getMobBase().fsm;
|
||||
|
||||
Reference in new issue
Block a user