Hi, all,
I just encountered a weird Physics problem, I don’t know if this is by design, so I would appreciate it if someone could tell me the definite answer.
Say, I have a hierarchy like this, a root object with two child objects;
+ Root (Kinematic Rigidbody)
--+ Core (Sphere collider)
--+ Platform (Box collider)
and when I drop another cube with rigidbody+collider on the Core, I check the info passed by OnCollisionEnter(Collision),
it was
Collision.collider : Platform <-- should be Core
Collision.gameObject : Root
Collision.transform : Root
Everything will be right if I put rigidbody on both the Core & Platform.
Is it a bug?
Env: Unity 4.5.2f1 + Win7