Beispiel #1
0
        public bool BotDeregisterFromCollisionEvents(UUID botID, SceneObjectGroup group, UUID attemptingUser)
        {
            if (GetBotWithPermission(botID, attemptingUser) == null)
            {
                return(false);
            }

            ScenePresence botSP = m_scene.GetScenePresence(botID);

            if (botSP == null || group == null)
            {
                return(false);
            }

            botSP.DeregisterGroupFromCollisionUpdates(group);
            return(true);
        }