Hi, I'm working on a game, where the player picks up trash from Trash Cans, and dumps it into Trash Trucks. There is an animation that plays, once the player brings a Trash Can up to a Trash Truck, that gets triggered with a trigger box collider. It parents the Trash Can to the Trash Truck, and plays the animation. The only problem is, it seems like there might be a collision issue, or something like that, as it causes the Trash Truck to tip over, and fly around / act crazy. I'm trying to toggle collisions, so that the Trash Can's collisions are not detected by the Trash Truck only, and everything else still collides with the Trash Can's colliders, and for it to only do this while it is parented to the Trash Truck. I have a specific Empty GameObject on both the Trash Trucks and the Trash Cans that contain most of the colliders. How can I correctly ignore collisions, for just the parented Trash Cans?
If anyone needs any more information, please, let me know!
Thanks!
↧