title: Check if collision between the model and two different objects is happening at the same time
body: <p>Working in a VR unity project, trying to do some C# scripting.</p>
  
  <p>My character model has two feet that are controlled in VR using trackers. I need a way to find out when both feet are colliding with cubes. cube A for left foot and cube B for the right foot at the same time. So that I can spawn another object when the condition is met.</p>
  
  <p>What would be the way of doing it? What object should have the script? Right now, the cubes have a OnTriggerStay function that checks for collision with feet and changes the cube color to green.</p>
  
  <pre><code>using System.Collections;
  using System.Collections.Generic;
  using UnityEngine;
  
  public class CheckForFoot : MonoBehaviour {
  
      void OnTriggerStay(Collider other)
      {
  
  
  
      }
  }
  </code></pre>
  
  <p>So this script is put on the cube that is on the floor. The cube has a collier on it the same as the foot. When the collision happens I can do something now, but I need to find out how to check for two identical cubes are colliding at the same time</p>