How to check if my empty is in contact with the object?
In my game I can push cubes to new location. And I have placed empty at certain locations. I don't know which function to use to check if my cube has moved over the empty and is it still standing over empty.
I tried searching things like overlap, covered , moved over or moved to but didn't got any success.
Comment
unity's collision system is dependent on there being colliders to collide with. just add a box collider to your empty, set it to IsTrigger and use a simple onTriggerEnter() or onTriggerStay() to exicute your code.