Search Unity

The problem with the transitions of the object

Discussion in 'Scripting' started by Trild123787898, Mar 21, 2019.

  1. Trild123787898

    Trild123787898

    Joined:
    Dec 9, 2018
    Posts:
    206
    I have an object on which the moving script hangs at the desired point, when a key is pressed, and the HingeJoint component, when the object has reached its goal, it will quickly move to its original place! Most likely the coordinates of the joint of the joint remain in place. Is there any way to fix this?
     
  2. Hosnkobf

    Hosnkobf

    Joined:
    Aug 23, 2016
    Posts:
    1,096
    with this information it is not possible to answer. You are not even pointing out what part of the described behavior is working wrong and what would be the expected behavior.
    Also some code would be good to have an idea what you are actually doing.
     
  3. Trild123787898

    Trild123787898

    Joined:
    Dec 9, 2018
    Posts:
    206
    thanks =) already decided