Swinging Rope 2D
HardcoreBudget
$5.00
(no ratings)
Date |
Price |
---|---|
日期和时间 |
价钱($) |
03/17(2021) |
5.0 |
11/20(2024) |
5.0 |
Jump AssetStore
Swinging rope is a package used for allowing the player to swing in a rope.In this package, you will find multiple rope scripts that are heavily documented (Last Rope,Create Rope,Move Rope,Rope links,Fixed Rope) as well as a rope made with hinge&distance 2D joints that you can extend easily from the inspector as well as set it's climbability and other features. The rope is designed so it can grab the player when the player collides with it. You will also find a player controller script, a pre-made character sprite, an example scene to check out the rope mechanics, and prefabs for the ropes. All rope aspects can be easily edited from the inspector window.-There are 2 types of rope prefabs in this package:1) Adjustable Size Rope.2) Fixed Size Rope.Both of which can be edited and/or moved autonomously from the inspector.-This package doesn't have any animations.-This package uses unity's built-in physics system.-You can't change the rope's anchored position during runtime.-This package doesn't depend on object tags except the player's tag which should be set to Player .-You can change the sprite of the rope but you must make sure that your sprite is rotated upright correctly and has a center pivot before applying it.(Don't manually rotate the rope in the hierarchy!).-You can freely change the order in layer and/or sorting layer of the prefabs (in Resources&Prefabs folders) from the sprite renderer if you want the player to appear behind the rope or infront of it.-Only use the fixed size rope if you want a unique sprite(s)/size for each individual segment.-Fixed size rope could actually be made longer (steps in the documentation) but it takes alot more time to setup than the Adjustable Size Rope which just uses the inspector.-Activating the autonomous moving rope (Move Rope) script during runtime will detach the player from that rope (if connected to it) and reset the rope's rotation before autonomously moving to avoid any glitches.