public ORCABundle() { m_orca = new Nebukam.ORCA.ORCA(); m_orca.plane = m_plane; m_orca.agents = m_agents; m_orca.staticObstacles = m_staticObstacles; m_orca.dynamicObstacles = m_dynamicObstacles; m_orca.raycasts = m_raycasts; }
private void Awake() { agents = new AgentGroup <Agent>(); obstacles = new ObstacleGroup(); dynObstacles = new ObstacleGroup(); raycasts = new RaycastGroup(); simulation = new ORCA(); simulation.plane = axis; simulation.agents = agents; simulation.staticObstacles = obstacles; simulation.dynamicObstacles = dynObstacles; simulation.raycasts = raycasts; }