Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

OnCollisionEnter not working on child objects

Discussion in 'Unity 5 Pre-order Beta' started by tonemcbride, Feb 18, 2015.

  1. tonemcbride

    tonemcbride

    Joined:
    Sep 7, 2010
    Posts:
    1,089
    Hi,

    On Unity 4.6 I had a car set up with 4 child wheel colliders (the parent had the rigid body). When a wheel hit something it would trigger the 'OnCollisionEnter' function of the script attached to the rigid body.

    Since upgrading to 5.0 beta (rc1) this no longer happens. It only calls 'OnCollisionEnter' if I put a collider on the parent object or if the child colliders are something other than a wheel collider.

    Has that functionality been removed for 5.0?

    Thanks!
     
    Last edited: Feb 18, 2015