Simple Grapple System gives your game a tuned, tested grappling foundation: fire at the crosshair, steer the swing with WASD, and ride a sagging tether that pulls the thrill into your game. Customize every part of the feel and behavior, with nearly all aspects easily tunable in Blueprints & C++.
/Grapple/Examples/Maps/GrappleDemo and press Play (PIE). All functionality will work out of the box in the demo for testing.

Grapple folder appears.| Input | Action |
|---|---|
WASD / Mouse | Move, steer your pendulum swing in mid-air, and look around |
SpaceBar | Jump off the ground before launching your grapple |
Q or E or LMB or RMB (Hold) | Fire the grapple toward your crosshair, hold to swing and pull, release to detach |
Grapple folder into <YourProject>/Plugins/Grapple/.GrappleRuntime.Copy Grapple into Plugins/, enable it, and drag Grapple onto your ACharacter, then assign InputMappingContext and IA_Grapple in Details (InputMappingContext is optional if your character already registers one; change Trace Channel to a custom Grapple trace profile in Project Settings so surfaces set to Ignore do not respond).


Drag in Grapple Camera FX to lean camera roll and widen FOV smoothly while swinging.


| Input Action | Required Value Type | Where Assigned & Behavior |
|---|---|---|
IA_Move, IA_Look, IA_Jump | Axis2D / Digital (bool) | Keep wired in your Character Blueprint (or C++ character). Grapple reads movement steering from your character and leaves look/move/jump as character behavior. |
IA_Grapple | Digital (bool) | Assign under Grapple > Configs|Input (with optional InputMappingContext). Started calls TryEnterGrapple(); Completed/Canceled calls ExitGrapple(). Leave unset to drive those nodes manually in Blueprint. |
To use Grapple directly from C++, add the runtime module (GrappleRuntime) in your project's <ProjectName>.Build.cs and include UGrappleComponent (plus optional UGrappleCameraFXComponent and AGrappleSplineActor) in your character header/source:
// <ProjectName>.Build.cs (plugin name is Grapple; runtime C++ module name is GrappleRuntime)
PublicDependencyModuleNames.Add("GrappleRuntime");
// In your ACharacter .h / .cpp
#include "Grapple/GrappleComponent.h"
#include "Grapple/GrappleCameraFXComponent.h"
// Optional: attach in your ACharacter constructor
Grapple = CreateDefaultSubobject<UGrappleComponent>(TEXT("Grapple"));
GrappleCameraFX = CreateDefaultSubobject<UGrappleCameraFXComponent>(TEXT("GrappleCameraFX"));
Your players can now latch, pull, and swing consistently at any framerate. Everything below covers trace channel filtering, third-person and multi-camera setup, tether rope wiring, Blueprint events, troubleshooting, and the full searchable API reference.

Adjust GrappleLength, pull/swing impulses, StopDistance, cooldowns, and Trace Channel surface filtering directly in Details or C++.

Prefer Blueprint Enhanced Input events over Details bindings? Wire your input directly to TryEnterGrapple and ExitGrapple.

Spawn AGrappleSplineActor, attach it to your character, and pass it into SetSplineActor so the rope renders automatically on every shot.

Toggle SetGrappleAllowed dynamically from combat, stamina, or trigger volumes to lock out grappling on demand and read IsGrappleAllowed for HUD feedback.
Grapple trace channel in Project Settings, assign it to Trace Channel in Details, and set non-grappleable walls to Ignore so rays pass through or reject them cleanly
Bind OnGrappleStateChanged and GetCooldownRemainingRatio cleanly for HUD widgets, audio cues, and VFX triggers.

Add a named FOV and roll layer with Set Camera FX Layer, fade it out with Remove Camera FX Layer, or clear everything with Reset Camera FX. Layers add on top of grapple swing FX and your own camera.
| System | Trace Channel / Query | Requirements & Level Setup Rules |
|---|---|---|
Default Grapple Line Trace (TrySetGrapple) | Visibility (ECC_Visibility) single line trace out to GrappleLength (7000 cm default) | Any mesh or actor that Blocks Visibility can be grappled with zero actor tags required. The owning character and registered AGrappleSplineActor are ignored automatically. Set trigger volumes, fog boxes, foliage, and invisible blockers to Ignore Visibility so they do not stop grapple rays mid-air. |
Custom Grapple Trace Channel (Recommended) | Custom Trace Channel created in Project Settings > Engine > Collision > Trace Channels | Create a dedicated Grapple channel (default Block or Ignore) and select it in Trace Channel under Configs. Set non-grappleable walls, ceilings, or slippery props to Ignore that channel so shots pass cleanly through or reject invalid surfaces. |
Auto-Release & Permission Gate (StopDistance, bGrappleAllowed) | World distance check + boolean runtime gate | Grapple detaches automatically when distance to GrapplePoint falls below StopDistance (250 cm default) or GrappleDuration expires. Call SetGrappleAllowed(false) during stun, low stamina, or no-grapple zones (detaches active tethers immediately). |

UCameraComponent on your character is used for view-target checks. Grapple line traces use PlayerController->GetPlayerViewPoint() by default.BindCameraReferences(Camera, RotationTarget) when the camera spawns or swaps so FX apply only to the active view.SetCameraFXLayer adds a named FOV and roll offset that stacks with grapple. RemoveCameraFXLayer fades it out and ResetCameraFX clears all of them.GetTotalCameraFXOffset returns what is added right now. OnCameraFXLayerChanged and OnCameraFXReset fire when layers change.IGrappleCharacterContract): implement GetGrappleViewLocation, GetGrappleViewForward, and GetGrappleAnchorOrigin to offset traces or tether attachments (#include "Grapple/GrappleContract.h").
Broadcasts true on latch and false on release.

Provides the exact world anchor coordinates on attach.

Reports cooldown duration when the grapple detaches.

Fires with the layer name and its new target offset when a camera FX layer is set, changed, or removed.

Fires when ResetCameraFX clears every camera FX layer.

Ray-casts along view direction and latches onto targets.

Releases tether, hides rope, and starts cooldown.

Simple boolean gate enabling or disabling grapple entry.

Returns true when bGrappleAllowed permits grappling.

Registers any rope or custom IGrappleSplineContract actor.

Returns true while tethered.

Normalized [0..1] cooldown progress for HUD rings.

Returns current anchor coordinates in world space.

Adds or updates a named FOV and roll layer on top of the camera.

Fades a named camera FX layer out and removes it.

Fades every camera FX layer back to zero.

Returns the FOV and roll currently added on top of the camera.

Supply custom eye origin, aim forward, or swing input.
Need help or want to report a bug? Ask directly in the Twikia Studios Discord Support Channel.
In the Unreal Editor Content Browser, click Settings (gear icon) and check Show Plugin Content. Then open Plugins > Grapple Content > Examples > Maps > GrappleDemo.
By default TraceChannel uses ECC_Visibility. Either set trigger volumes/glass/fog boxes to Ignore Visibility, or create a dedicated Grapple Trace Channel in Project Settings > Collision, assign it on Grapple in Details, and set non-grappleable geometry to Ignore.
UGrappleComponent does not spawn a rope actor automatically unless you spawn AGrappleSplineActor (or your own IGrappleSplineContract actor), attach it to your character, and register it via SetSplineActor on BeginPlay.
Call GrappleCameraFX->BindCameraReferences(Camera, SpringArm) whenever spawning or swapping cameras so the modifier applies to the active view target. Grapple FX are additive layers and never overwrite your camera's FOV or rotation.
Ensure Enhanced Input is enabled, IA_Grapple uses Digital (bool), your Character is locally possessed by a PlayerController, and either InputMappingContext is assigned on Grapple or already added by your Character/Controller.
SetCameraFXLayer, RemoveCameraFXLayer, ResetCameraFX, GetCameraFXLayerOffset, GetTotalCameraFXOffset) plus OnCameraFXLayerChanged and OnCameraFXReset delegates on UGrappleCameraFXComponent.Declared enabled in Grapple.uplugin. No Niagara or third-party plugins are required.
PublicDependencyModuleNames: Core, CoreUObject, Engine, InputCore, EnhancedInput, UMG.
Tested platform: Win64 (PlatformAllowList: ["Win64"]). Single-player only (not network replicated; binds on IsLocalController()).
Grapple is split into three focused runtime building blocks: UGrappleComponent (state machine, aim raycasts, exponential pull and WASD perpendicular swing forces, auto-release distance, duration timer, cooldown timer, and bGrappleAllowed runtime permission gate), UGrappleCameraFXComponent (additive FOV widening and lateral camera roll toward the tether via named camera FX layers), and AGrappleSplineActor (procedural sagging rope spline and hook mesh).
Enhanced Input bindings are optional: assign InputMappingContext and IA_Grapple on UGrappleComponent for zero-graph input handling, or leave IA_Grapple unset and drive TryEnterGrapple() and ExitGrapple() directly from custom Blueprint or C++ handlers.
All pull and swing impulses pass through VectorFrameRateCorrection(BaseImpulse, DeltaTime), normalizing movement to a 60 FPS reference step so swing arcs and pull distances remain identical across 30, 60, 120, and 240 FPS.
Custom pawns or rope actors can implement IGrappleCharacterContract, IGrappleSplineContract, and IGrappleListener to override view origin, aim direction, anchor socket location, or react to attach/detach events without subclassing.
UGrappleCameraModifierCamera modifier that applies additive Grapple camera FX from UGrappleCameraFXComponent.
UGrappleCameraFXComponentAdditive camera roll and FOV layers while grappling, applied via UGrappleCameraModifier without writing the camera component.
UGrappleComponentStandalone first-person grapple state, physics-inspired pull/swing, auto-release, and cooldown component for ACharacter owners.
AGrappleSplineActorProcedural sagging rope tether and hook actor implementing IGrappleSplineContract for UGrappleComponent.
FOVDegreesDegrees added on top of the camera's current field of view.
RollDegreesDegrees of roll added about the view forward axis on top of the current camera rotation.
GrappleFOVOffsetAdditive field-of-view offset in degrees applied on top of the camera's current FOV while grappling.
FOVEnterSpeedInterpolation speed used to blend grapple layer FOV toward GrappleFOVOffset on attach.
FOVExitSpeedInterpolation speed used to blend grapple layer FOV back to zero after detaching.
MaxCameraRollDegreesMaximum additive camera roll in degrees when swinging laterally relative to the grapple anchor.
RollInterpSpeedInterpolation speed used to blend grapple layer roll during and after a grapple swing.
BlendSpeedInterpolation speed used to blend custom named camera FX layers toward their targets.
CurrentGrappleRollCurrent blended additive roll in degrees on the reserved Grapple layer (for HUD readback).
CachedCameraConfigures cached camera under General.
GrappleLengthMaximum raycast distance in centimeters (cm) that the grapple can reach and latch onto geometry.
GrappleDurationMaximum time in seconds that a single grapple tether can remain active before automatically detaching.
GrappleStrengthMultiplierGlobal multiplier applied to both radial pull and pendulum swing forces (1.0 = default baseline strength).
SwingingStrengthLateral acceleration strength applied when steering mid-air with WASD perpendicular to the tether line.
PullStrengthRadial pull acceleration strength applied toward the anchor point while tethered.
CooldownCooldown duration in seconds after detaching before the grapple can be fired again.
StopDistanceDistance threshold in centimeters (cm) from the anchor point at which the grapple automatically detaches on arrival.
bGrappleAllowedRuntime permission gate controlling whether TryEnterGrapple and TrySetGrapple are allowed to acquire an anchor. Set to false cleanly via SetGrappleAllowed to block grappling during stamina depletion, hitstun, or scripted zones.
TraceChannelCollision trace channel used by TrySetGrapple when raycasting for valid anchor surfaces. Change this to a custom Grapple trace channel (configured in Project Settings > Engine > Collision) so specific walls, glass, or non-grapple surfaces set to Ignore do not respond to grapple traces.
InputMappingContextEnhanced Input Mapping Context automatically registered on the local player when IA_Grapple is assigned.
IA_GrappleEnhanced Input Action bound automatically for hold-to-grapple (Triggered/Started enters, Completed/Canceled exits). Leave unset to drive TryEnterGrapple/ExitGrapple manually.
InputMappingPriorityPriority level used when adding InputMappingContext to UEnhancedInputLocalPlayerSubsystem.
AnchorOriginRoot scene component representing the character-side rope attachment origin.
SplineMeshSpline mesh component stretched from the character anchor to the grapple target point.
HookMeshHook static mesh positioned at the world-space grapple impact point.
ChainMeshAssetSoft reference to the static mesh used along the rope spline body.
HookMeshAssetSoft reference to the static mesh placed at the anchor end of the rope.
ThicknessCross-section scale (width, height) applied to the spline mesh segments.
VelocityStiffnessMultiplier controlling how much player velocity pulls the rope taut and reduces mid-air slack.
GravityGravity direction vector applied to the rope midpoint sag calculation.
HeavinessRope weight multiplier controlling the vertical sag magnitude along the tether.
bSplineVisibleTrue while the grapple spline and hook meshes are visible during an active grapple.
CurrentTargetWorldCurrent world-space target location of the grapple hook tip.
BindCameraReferencesExplicitly binds a camera component for view-target checks when the owner uses multiple cameras or non-standard rigs.
SetCameraFXLayerSets or updates a named custom camera FX layer that blends toward the target additive offset.
RemoveCameraFXLayerBlends a custom layer's target to zero and removes it once settled.
ResetCameraFXSets every layer target to zero and removes custom layers once settled.
GetCameraFXLayerOffsetReturns the current blended additive offset for a layer (zero if unknown).
GetTotalCameraFXOffsetSum of every layer's current blended additive offset (what the modifier applies on top of the view).
GetCurrentRollDegreesReturns the current total additive roll in degrees across all layers.
GetCurrentFOVReturns the camera's current FOV plus total additive FOV offset in degrees (does not read a written grapple FOV).
TrySetGrapplePerforms a single line trace along the owner's view direction up to GrappleLength (cm) and outputs the world hit location if valid geometry is found.
TryEnterGrappleAttempts to fire the grapple along the view ray, attach to the hit point, show the registered spline tether, and start the max duration timer.
ExitGrappleDetaches the active grapple tether, hides the spline actor, broadcasts OnGrappleExited / OnGrappleStateChanged, and starts the cooldown timer.
ComputeGrappleForceSwingComputes the perpendicular pendulum swing force vector from the player's WASD input relative to the anchor vector and outputs the normalized swing direction.
ComputeGrappleForceTowardAnchorComputes the radial pull force vector directed toward the active grapple anchor point scaled by PullStrength and GrappleStrengthMultiplier.
VectorFrameRateCorrectionScales a base impulse vector by DeltaTime relative to a 60 FPS reference step so grapple pull and swing distances stay consistent across framerates.
SetSplineActorRegisters an AGrappleSplineActor (or any actor implementing IGrappleSplineContract) to render and update the procedural rope tether during active grapples.
SetGrappleAllowedEnables or disables grapple permission at runtime; detaches an active grapple immediately when set to false.
IsGrappleAllowedReturns true when grappling is currently permitted by the bGrappleAllowed gate.
IsGrapplingReturns true while the player is actively tethered to a grapple point.
IsOnCooldownReturns true while the grapple is on cooldown after detaching and cannot be re-entered.
GetCooldownRemainingRatioReturns the normalized [0..1] cooldown remaining ratio (1.0 when just exited, 0.0 when ready to fire) for HUD meters and crosshair feedback.
GetGrapplePointReturns the world-space coordinates of the current (or most recent) grapple anchor point.
CalculateSplineRecomputes spline start/end tangents and hook orientation in local space using the target offset and player velocity.
OnCameraFXLayerChangedBroadcast when a layer's target offset is set or cleared (including the built-in Grapple layer).
OnCameraFXResetBroadcast when ResetCameraFX targets all layers to zero.
OnGrappleStateChangedBroadcasts true when a grapple attaches and false when it detaches.
OnGrappleEnteredBroadcasts the world-space anchor point immediately when a grapple attaches.
OnGrappleExitedBroadcasts the active Cooldown duration in seconds when a grapple detaches.
GetGrappleViewLocationReturns the world-space eye/camera origin from which grapple traces are cast.
GetGrappleViewForwardReturns the normalized world-space forward aim vector for grapple traces.
GetGrappleRightVectorReturns the normalized world-space right vector used to compute perpendicular swing forces.
GetGrappleMoveInputReturns the 2D horizontal movement input (X = right, Y = forward) used for mid-air swing steering.
GetGrappleAnchorOriginReturns the world-space origin where the grapple tether attaches on the character (e.g., hand or launcher socket).
ShowSplineShows the grapple rope/spline and snaps its endpoint to the world hit location.
HideSplineHides the grapple rope/spline when the grapple detaches.
UpdateSplineTargetUpdates the spline endpoint and mid-air sag curvature each tick using the target world position and player velocity.
OnGrappleEnteredCalled when a grapple attaches to the specified world-space anchor point.
OnGrappleExitedCalled when a grapple detaches and begins its cooldown period.
FGrappleCameraFXOffsetAdditive FOV and roll offsets applied on top of the active camera view (degrees).