Beispiel #1
0
        public void InitializeTama()
        {
            if (danAgent == null)
            {
                return;
            }

            danAgent.InitializeTama();

            if (collisionAgent == null)
            {
                return;
            }

            danAgent.AddTamaColliders(collisionAgent);
        }
Beispiel #2
0
        public void InitializeTama()
        {
            if (danAgent == null)
            {
                return;
            }

            danAgent.InitializeTama();

            if (collisionAgent == null || collisionAgent.m_collisionCharacter == null)
            {
                return;
            }

            danAgent.AddTamaColliders(collisionAgent.m_collisionCharacter);
        }
Beispiel #3
0
        public void SetCollisionAgent(ChaControl target)
        {
            if (danAgent == null || danOptions == null || !danTargetsValid)
            {
                return;
            }

            if (collisionAgent != null)
            {
                danAgent.RemoveDanColliders(collisionAgent);
                danAgent.RemoveTamaColliders();
            }

            collisionAgent = target;
            danAgent.AddDanColliders(collisionAgent);
            danAgent.AddTamaColliders(collisionAgent, false);
        }