public bool BotRegisterForCollisionEvents(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.RegisterGroupToCollisionUpdates(group); return(true); }