Skip to content

Instantly share code, notes, and snippets.

@drtrifle
drtrifle / gist:719302cdefedff3345970def9d19eafc
Created December 11, 2017 07:57
GrappleHook ropesystem
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
public class RopeSystem : MonoBehaviour {
public DistanceJoint2D ropeJoint;
public Transform crosshair;
public SpriteRenderer crosshairSprite;