Grappler MASTER

 

A Unity 3D Grappling Hook

To Use:

  1. Attach the script to your player object.
  2. Choose your hook prefab.
  3. Assign your main scene camera.
  4. Add a capsule collider to your player object.
  5. Set the capsule collider height to match the player transform.
  6. Set the capsule collider as a trigger.
  7. Adjust your speed and grapple distance [optional]
  8. Add the tag "Hookable" to any object you wish to grapple to.
  9. Steal Underpants!
  10. Play and enjoy!

Note: This uses Unity's Standard Assets - Third Person Controller. If you wish to change this, look at lines 23 and 51, and change them accordingly.


DOWNLOAD


0/Post a Comment/Comments