setAgentPosition() публичный Метод

Sets the two-dimensional position of a specified agent. *
public setAgentPosition ( int agentNo, Vector2 position ) : void
agentNo int The number of the agent whose two-dimensional * position is to be modified.
position Vector2 The replacement of the two-dimensional * position.
Результат void
Пример #1
0
 public void SetAgentPosition(int _id, Vector3 _pos)
 {
     m_instance.setAgentPosition(_id, new RVO.Vector2(Vector3.Dot(_pos, m_side), Vector3.Dot(_pos, m_fwd)));
 }