- Home /
Getting child collider when collision occurs in compound object
Hi,
I have a compound object. The parent of the compound object hierarchy has a script that is listening to the OnTrigerXXX callbacks of the children. When this compound object collides with other objects is there any way to get both colliders? I mean the "other" collider and the collider that belongs to the compound object itself that collided?
P.D: All rigid bodies must be kinematic, so, I can't use OnCollisionXXXX with the collision info param that has all the information I need in the contacts array.
Cheers
Your answer
Follow this Question
Related Questions
Compound collider object behaving as a whole? 1 Answer
Character accelerates while running towards walls. "Sonic effect" 1 Answer
Keep Horizontal Momentum after Jump 2 Answers
How to stop sphere from clipping through cube edges aside from lowering Time.FixedDeltaTime? 1 Answer
Collision.impulse = 0 in OnCollisionStay Kinematic Static collision pair after Update 0 Answers