# Collision between GameObjects

I have two GameObjects in my game, GameObject a “basket” and a “fruit”, only the “fruit” is entering the side of the “basket” and that is wrong, sometimes the “fruit” hits the side of the “basket” but when the “basket” is very fast, can catch the “fruit” by the side of the “basket”

How do I resolve, for when the “basket” quickly hit the “fruit” of taking her hand the fruit does not go through the side of the “basket”?

Can anyone help? I’m beginning to think it’s a bug, because I do not think that an option that does not happen!

I do not think a solution to solve this problem, not an option! Can anyone help me?

I think with this picture, you body will have a vision of what is happening in my game!

Might be because you are using a plane. Try a cube instead.

Even with the cube, this happened … Both have gameObject “Rigidbody”, "Mesh Collider"

For two mesh colliders to collide they both have to be convex. Have a mesh collider on your basket and a box collider primitive on the fruit. Rigidbody on both. See if that works. Also check your minimum penetration settings.

EDIT - Also the walls on your basket may be too thin.

The fruit hits the basket, but when I go very fast with the “basket” in direction of “fruit” just entering the side of the “basket”

Why does this happen?

Does anyone have any idea how to not let the “fruit” into the side of the “basket”?

Try applying a RigidBody component to both the basket and the fruit. For the basket, uncheck “Use Gravity” and check “IsKinematic.” This will allow you to manipulate the basket using the transform and to be unaffected by the fruits physics. The fruit should then “roll” into or off the baskets side as you move the basket around. You may need to replace the fruits collider with a primitive collider such as a Capsule collider or sphere collider.

Try attaching this script to your fruit

If that doesn’t work, trying scaling your fruit and basket by 10 times larger.
I’ve seen really small objects in Unity go through lots of things.
Yet after scaling bigger it works.

Basket Scale = 1448.426, 1448.426, 1448.426
Fruit Scale = 7, 7, 7