Search Unity

[Solved] Syncronising transform.position with gravity

Discussion in 'Physics' started by Angermann, Mar 28, 2020.

  1. Angermann

    Angermann

    Joined:
    Mar 23, 2020
    Posts:
    8
    So, in my project there is a "lift" that has to use transform.position to go down/up and when another object with a rigitbody2d is on it, the said object doesnt go down in the same pace, which makes the appareance of it doing "mini-jumps" constantly (it F***s my Collision detections scripts too). Any way to make the object "stick" to the lift when its going down?
     
  2. Angermann

    Angermann

    Joined:
    Mar 23, 2020
    Posts:
    8
    Sadly I had to add a rigidbody2d to the lift and use physics (Rigidbody2D.movePosition) to fix it, if anyone has the same problem.
     
    DeadAz69 likes this.