Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

moving plant with 2D game kit

Discussion in '2D' started by ratounette, Aug 11, 2019.

  1. ratounette

    ratounette

    Joined:
    Aug 7, 2019
    Posts:
    2
    Hi,

    I have downloaded the "2D game kit" (https://assetstore.unity.com/packages/essentials/tutorial-projects/2d-game-kit-107098) to learn how to use unity and I have a little problem :
    I put a plant on a moving plateform, added it a box collider 2D and a Rigidbody 2D. The problem is that the plant is moving when the plateform suddenly changes direction, it's not a big move but it's still a move.... What can I do to fix this problem ?

    Thank you guys !
     
  2. ratounette

    ratounette

    Joined:
    Aug 7, 2019
    Posts:
    2
    UPDATE : I added a component "Fixed Joint 2D" and put my moving plateform on the field "Connected rigid body" and it works, my plant is not moving anymore. Maybe it's not the best way to do it, but meanwhile it's working.
     
  3. ed_s

    ed_s

    Unity Technologies

    Joined:
    Apr 17, 2015
    Posts:
    30
    Glad you managed to solve your issue; if you have other issues or questions about the 2D Game Kit, you can try this thread that's devoted to the 2D Game Kit.

    https://forum.unity.com/threads/2d-game-kit-official-thread.517249/