Grapple

  • grappleCamera: Reference to the player Camera.

  • grappleLineRenderer: Reference to the player Line Renderer component.

  • grappleMask: Sets the allowed grapple layers. You won´t be able to use the grapple on surfaces that are not included in this mask.

  • moveSpeed: Velocity from the initial grapple position to the grapple target.

  • grappleLength: Maximum distance allowed to grapple.

  • maxPoints: It ensures that the list only retains the most recent grapple points up to the specified maximum value, discarding the oldest points if necessary.

Dettach()

Dettaches the Grappling Hook -> Stops the grapple motion.

Last updated