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

DragRigidbody2D - Rigidbody2D dragging script for Physics2D

Discussion in 'Assets and Asset Store' started by Rapskalian, May 15, 2014.

  1. Rapskalian

    Rapskalian

    Joined:
    Jan 4, 2011
    Posts:
    45
    Hey there everybody!

    I've been working on a game recently and have been scouring the internet for a good rigidbody2D drag script to no avail. So I decided to write up my own and share it.

    DragRigidbody2D can get you started dragging things around in less than 60 seconds.

    Options include:
    - Multiple drag layers
    - Drag damping
    - Rotation freezing
    - Snapping to center
    - Drag relative to another rigid body
    - Multi touch on mobile!

    Here's a link to it on the asset store: https://www.assetstore.unity3d.com/en/#!/content/17528

    Thanks for taking the time to check it out. Let me know if you have any questions or feature ideas and I'll be sure to implement them!
     
    Last edited: Jun 18, 2014
  2. Rapskalian

    Rapskalian

    Joined:
    Jan 4, 2011
    Posts:
    45
    Added a video