Пример #1
0
        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;
        }
Пример #2
0
        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;
        }