Atavism Version 2018.1AGIS API

atavism.server.pathing.crowd
Class CrowdAgent

java.lang.Object
  extended by atavism.server.pathing.crowd.CrowdAgent

public class CrowdAgent
extends java.lang.Object


Field Summary
 java.lang.Boolean Active
           
 LocalBoundary Boundary
           
 short[] CornerFlags
           
 long[] CornerPolys
           
 float[] CornerVerts
           
 PathCorridor Corridor
           
static int CrowdAgentMaxCorners
           
static int CrowdAgentMaxNeighbors
           
 float DesiredSpeed
           
 float[] disp
           
 float[] dvel
           
 int NCorners
           
 CrowdNeighbour[] Neis
           
 int NNeis
           
 float[] npos
           
 float[] nvel
           
 CrowdAgentParams Param
           
 CrowdAgentState State
           
 long TargetPathQRef
           
 float[] TargetPos
           
 long TargetRef
           
 java.lang.Boolean TargetReplan
           
 float TargetReplanTime
           
 MoveRequestState TargetState
           
 float TopologyOptTime
           
 float[] vel
           
 
Constructor Summary
CrowdAgent()
           
 
Method Summary
 float[] CalcSmoothSteerDirection(float[] dir)
           
 float[] CalcStraightSteerDirection(float[] dir)
           
 float GetDistanceToGoal(float range)
           
 void Integrate(float dt)
           
 java.lang.Boolean OverOffMeshConnection(float radius)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CrowdAgentMaxNeighbors

public static int CrowdAgentMaxNeighbors

CrowdAgentMaxCorners

public static int CrowdAgentMaxCorners

Active

public java.lang.Boolean Active

State

public CrowdAgentState State

Corridor

public PathCorridor Corridor

Boundary

public LocalBoundary Boundary

TopologyOptTime

public float TopologyOptTime

Neis

public CrowdNeighbour[] Neis

NNeis

public int NNeis

DesiredSpeed

public float DesiredSpeed

npos

public float[] npos

disp

public float[] disp

dvel

public float[] dvel

nvel

public float[] nvel

vel

public float[] vel

Param

public CrowdAgentParams Param

CornerVerts

public float[] CornerVerts

CornerFlags

public short[] CornerFlags

CornerPolys

public long[] CornerPolys

NCorners

public int NCorners

TargetState

public MoveRequestState TargetState

TargetRef

public long TargetRef

TargetPos

public float[] TargetPos

TargetPathQRef

public long TargetPathQRef

TargetReplan

public java.lang.Boolean TargetReplan

TargetReplanTime

public float TargetReplanTime
Constructor Detail

CrowdAgent

public CrowdAgent()
Method Detail

Integrate

public void Integrate(float dt)

OverOffMeshConnection

public java.lang.Boolean OverOffMeshConnection(float radius)

GetDistanceToGoal

public float GetDistanceToGoal(float range)

CalcSmoothSteerDirection

public float[] CalcSmoothSteerDirection(float[] dir)

CalcStraightSteerDirection

public float[] CalcStraightSteerDirection(float[] dir)


Copyright © 2018 Dragonsan Studios Sp. z o.o.