API
Babylon Lite API
|
agentGoto
…
|
Babylon Lite API
|
agentGoto
agentGoto
Function agentGoto
agentGoto
(
crowd
:
NavCrowd
,
index
:
number
,
destination
:
Vec3
)
:
void
Request the agent to move toward a world target (constrained by navmesh).
Parameters
crowd
:
NavCrowd
index
:
number
destination
:
Vec3
Returns
void
Request the agent to move toward a world target (constrained by navmesh).