How to set trigger between 2 objects on start?

So I created a cube and a smaller cube inside it (no rigidbody), the bigger one is trigger an i want to check if the smaller one is inside the bigger one, but it doesn’t detect if the smaller one is in the bgger one from the begginig , it has to enter/exit trigger to detect it.
If someone can help i would appreciate it :wink:

Could you describe the circumstances on how this smaller cube could end up inside the larger cube, without your knowledge? :slight_smile:
Write a small bit about how/when this could happen, without passing through the larger cube… ?
If it is always there when it starts, you could simply call any method (or whatever) you want when it begins… knowing that the smaller cube is there, for instance.

this is how it looks when i run the game

3042520--227933--Untitled.png

no one has a rigidbody , and i have a float variable that i want to grow while the smaller cube is in the bigger one

Enter, Stay and Exit will only trigger if at least one of the objects got a rigidbody. Without a rigidbody they are considered static and 2 static objects can’t interact with each other.