Hello everybody,
What is the way of checking if an object is inside of another. I used OnCollisionEnter, but it’s running even if a little collision happens. But I need to understand that if an object is inside of another completely.
Thank you for now.
You could do this using a couple of techniques I guess:
- Make small objects/colliders within both objects that would only collide if the larger object A was inside object B entirely. Have these colliders check for the inclusion.
- Use the Bounds and check whether the min an max of the contained object are contained within the bounding box of the outer object.