API
Babylon Lite API
|
addAgent
…
|
Babylon Lite API
|
addAgent
addAgent
Function addAgent
addAgent
(
crowd
:
NavCrowd
,
position
:
Vec3
,
params
:
AgentParameters
)
:
number
Add an agent to the crowd. Returns the agent index.
Parameters
crowd
:
NavCrowd
position
:
Vec3
params
:
AgentParameters
Returns
number
Add an agent to the crowd. Returns the agent index.