Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

How to move Object B that is connected to a hingeJoint

Discussion in 'Physics' started by coder_for_life22, Jan 23, 2015.

  1. coder_for_life22

    coder_for_life22

    Joined:
    Dec 25, 2013
    Posts:
    46
    Hey guys,

    I have two objects. Object A is the anchor for the hinge joint. Object B is the connect body.

    Is there a way I can move the object B although it is attached to the hingejoint?

    When I saw move, What I mean is in a script when the user presses a button, I can move the object B even though it is attached to the hinge joint. All while still keeping it to the hinge joint.

    Anyone know how to do this?

    Thanks