Hello, there!
I found that OnTriggerEnter/Stay/Exit and OnColissionEnter/Stay/Exit not work when object1 instantiated inside collider of object2. When its colliders not intersect on spawn moment all works great. Easy to understand why
The only way to check if one object still near to spawned point is Vector3.SqrMagnitude(pos1,pos2). Not bad, but this need Update()
Any other way to solve this problem with triggers?
For now I create several colliders on spawn point, when new object appear and start move it will intersect with one of those volumes. But β¦ if object has great size, it intersects with all colliders at once and this approach not work universally