Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    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:
    165
    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/