// Update is called once per frame private void Update() { gravityMultiplied = gravity * gravityMultiplier; CustomCollider[] colliders = FindObjectsOfType <CustomCollider>(); RigidBodyScript[] rbs = FindObjectsOfType <RigidBodyScript>(); forceManager.AddRB(rbs); collisionManager.AddNewCollider(colliders); forceManager.ForceUpdate(); collisionManager.CollisionUpdate(); }