Search Unity

  1. If you have experience with import & exporting custom (.unitypackage) packages, please help complete a survey (open until May 15, 2024).
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice

Force not getting applied to all components

Discussion in 'Physics' started by mukulabdagiri, Dec 6, 2016.

  1. mukulabdagiri

    mukulabdagiri

    Joined:
    Jul 1, 2016
    Posts:
    23
    Hello,
    I have a NGUI sprite, NGUI label and Rigidbody component attached to my gameobject. When I apply force to the rigidbody of my gameobject, only one of the components is affected. If I have both the components enabled, then force is applied to the sprite, if I disable the sprite, then force is applied to the label component. I need the force to get applied to all the components within the gameobject which has a rigidbody. What am i doing wrong or missing?

    Thanks,
    Mukul
     
    Last edited: Dec 6, 2016