Anybody want to venture a guess as to why I am having trouble registering an OnTargetStay collision event?
To be more precise: I was able to get it to fire in a very simple scene, but then when I try to do it in my more-complex actual game situation, using the exact same script on the left and right SteamVR controller objects, nothing is happening.
Here is the script, attached to the left and right controllers (which each have a sphere collider, set to Trigger mode)… when I move the controllers into a box collider (on a door)… nothing happens:
void OnTriggerStay(Collider col)
{
Debug.Log("Collision detected!");
}
Anybody know what would cause this?