View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0.0
- Last updated
- First released
- Unity version
- 2022.1.14 or later
- Package size
- 123 KB
- Files
- 14
- Favorites
- 4
- Views in the past week
- 3
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $4.99 on
Keywords
Simple 2D Rope Swing
A straightforward rigidbody-based 2D rope swinging system that will easily slot into any rigidbody 2D platformer controller.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 2
Simple 2D Rope Swing screenshot 1
About this asset
A basic, customisable rope-swinging system that feels great. Designed for rigidbody-based character controllers, but can easily be changed to work with custom physics - all you need to do is replace the references to rigidbody.velocity with your own velocity variable.
N.B. the included character controller is only there to demonstrate the mechanics. Replace it with your own, or build upon it - it will only work with the old input system and jumping will need to be almost entirely replaced to make a game that feels good. This asset is not intended to be used as a character controller.
From the publisher's Asset Store listing.
Technical details
- Easy implementation
- Stores max velocity for a short time, to give players a better chance of getting the furthest distance
- Works with both old and new input systems (demo
- UnityEvents and C# events for easy extensibility - examples included for rendering the rope with a line renderer, and disabling monobehaviours while swinging
- Source code available and commented
- Game-ready: well-optimised code that will handle hundreds of rope swing points with ease
- No dependencies, just add it to your project and go!
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 2022.1.14f1 | Compatible | Compatible | Compatible | Compatible |
The demo scene assumes you're using URP, if you're not, it will still work - just remove the missing script from the camera.
As listed on the Asset Store.