Twikia Studios

Grapple (v1.4.0) - User Guide

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++.

Quick Navigation

1. Immediate First-Person Demo Map

Grapple Demo
No setup needed: Open /Grapple/Examples/Maps/GrappleDemo and press Play (PIE). All functionality will work out of the box in the demo for testing.
Content Browser: BlueprintsContent Browser: Demo Map
Can't find the folder? In the Content Browser, click Settings (gear icon) and enable Show Plugin Content so the Grapple folder appears.
InputAction
WASD / MouseMove, steer your pendulum swing in mid-air, and look around
SpaceBarJump 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

2. Installation & Character Setup (Blueprint & C++)

Option A: Fab Library

  1. Open Epic Games Launcher > Fab Library (or the Fab plugin inside Unreal Editor) and click Install to Engine for your target UE version.
  2. Open your project, go to Edit > Plugins > Installed, search for Grapple, and check Enabled.
  3. Restart Unreal Editor when prompted.

Option B: Manual Project Install (Source / UE 5.5 - 5.8)

  1. Copy the Grapple folder into <YourProject>/Plugins/Grapple/.
  2. Confirm the built-in Enhanced Input plugin is enabled under Edit > Plugins.
  3. Launch the project (or regenerate project files) and allow Unreal Editor to compile GrappleRuntime.

Step 1: Add Grapple to Your Character

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).

Add Grapple to Your CharacterAdd Grapple to Your Character Details

Step 2: Add Camera FX (Optional)

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

Add Camera FX (Optional)Add Camera FX (Optional) Details
Input ActionRequired Value TypeWhere Assigned & Behavior
IA_Move, IA_Look, IA_JumpAxis2D / 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_GrappleDigital (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.

C++ Setup: Build.cs & Header Include

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"));

End of Setup

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.

3. More Setup & Customization

Tuning Feel & Custom Blueprint Wiring

Surface Filtering & Pull/Swing Tuning

Surface Filtering & Pull/Swing Tuning

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

Explicit Use of the Grapple

Explicit Use of the Grapple

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

Spawn & Attach Spline Actor

Spawn & Attach Spline Actor

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

  • Thickness & Heaviness: adjust rope width and mid-air curve sag
  • Velocity Stiffness: tighten the rope dynamically as pull speed rises

Gate Grapple Entry with a Simple Bool

Gate Grapple Entry with a Simple Bool

Toggle SetGrappleAllowed dynamically from combat, stamina, or trigger volumes to lock out grappling on demand and read IsGrappleAllowed for HUD feedback.

  • Custom Trace Channel Filtering: create a 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

React to Grapple State & Cooldown Readouts

React to Grapple State & Cooldown Readouts

Bind OnGrappleStateChanged and GetCooldownRemainingRatio cleanly for HUD widgets, audio cues, and VFX triggers.

Stack Your Own Camera FX Layers

Stack Your Own Camera FX Layers

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.

Trace Channels, Collision Filtering & Anchor Rules

SystemTrace Channel / QueryRequirements & 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 ChannelsCreate 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 gateGrapple 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).

Camera Setup, Third-Person Rigs & Custom View Origins

Bind Camera References Blueprint Graph
Everything is added on top of your camera. Grapple FOV and swing roll never replace what your camera is doing. They are added to your current view (your zoom, shakes, aim effects) and taken away again when you detach. Your own effects stack the same way, so nothing fights.

4. Grapple Reference (Blueprint Nodes & Callbacks)

Showing 18 of 18 items

Extras A - Event Callbacks

OnGrappleStateChanged

OnGrappleStateChanged

Broadcasts true on latch and false on release.

OnGrappleEntered

OnGrappleEntered

Provides the exact world anchor coordinates on attach.

OnGrappleExited

OnGrappleExited

Reports cooldown duration when the grapple detaches.

OnCameraFXLayerChanged

OnCameraFXLayerChanged

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

OnCameraFXReset

OnCameraFXReset

Fires when ResetCameraFX clears every camera FX layer.

Extras B - Triggers, Queries & Contracts

TryEnterGrapple

TryEnterGrapple

Ray-casts along view direction and latches onto targets.

ExitGrapple

ExitGrapple

Releases tether, hides rope, and starts cooldown.

SetGrappleAllowed

SetGrappleAllowed

Simple boolean gate enabling or disabling grapple entry.

IsGrappleAllowed

IsGrappleAllowed

Returns true when bGrappleAllowed permits grappling.

SetSplineActor

SetSplineActor

Registers any rope or custom IGrappleSplineContract actor.

IsGrappling

IsGrappling

Returns true while tethered.

GetCooldownRemainingRatio

GetCooldownRemainingRatio

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

GetGrapplePoint

GetGrapplePoint

Returns current anchor coordinates in world space.

SetCameraFXLayer

SetCameraFXLayer

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

RemoveCameraFXLayer

RemoveCameraFXLayer

Fades a named camera FX layer out and removes it.

ResetCameraFX

ResetCameraFX

Fades every camera FX layer back to zero.

GetTotalCameraFXOffset

GetTotalCameraFXOffset

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

IGrappleCharacterContract

IGrappleCharacterContract

Supply custom eye origin, aim forward, or swing input.

5. Troubleshooting FAQ

Need help or want to report a bug? Ask directly in the Twikia Studios Discord Support Channel.

Demo folder or GrappleDemo map is not visible in Content Browser

In the Unreal Editor Content Browser, click Settings (gear icon) and check Show Plugin Content. Then open Plugins > Grapple Content > Examples > Maps > GrappleDemo.

Grapple ray hits invisible trigger volumes, glass, or non-grappleable surfaces

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.

Tether rope spline does not appear when grappling

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.

Camera roll or FOV does not apply on Third-Person or multi-camera characters

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.

Grapple input does not trigger on my custom Character

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.

Changelog - v1.4.0

6. API Reference & Dependencies

Showing 80 of 80 entries
DependencyPlugin Dependency

Required Engine Plugin: EnhancedInput

Declared enabled in Grapple.uplugin. No Niagara or third-party plugins are required.

DependencyUE Module Dependencies

Runtime Module: GrappleRuntime

PublicDependencyModuleNames: Core, CoreUObject, Engine, InputCore, EnhancedInput, UMG.

DependencyRuntime Scope

Target Platform & Replication

Tested platform: Win64 (PlatformAllowList: ["Win64"]). Single-player only (not network replicated; binds on IsLocalController()).

Architecture

Architecture & Core Systems

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.

Architecture

Physics, Framerate Independence & Contracts

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.

ClassGrappleCameraFXComponent.h

UGrappleCameraModifier

Inherits: public UCameraModifier

Camera modifier that applies additive Grapple camera FX from UGrappleCameraFXComponent.

ClassGrappleCameraFXComponent.h

UGrappleCameraFXComponent

Inherits: public UActorComponent, public IGrappleListener

Additive camera roll and FOV layers while grappling, applied via UGrappleCameraModifier without writing the camera component.

ClassGrappleComponent.h

UGrappleComponent

Inherits: public UActorComponent

Standalone first-person grapple state, physics-inspired pull/swing, auto-release, and cooldown component for ACharacter owners.

ClassGrappleSplineActor.h

AGrappleSplineActor

Inherits: public AActor, public IGrappleSplineContract

Procedural sagging rope tether and hook actor implementing IGrappleSplineContract for UGrappleComponent.

PropertyFGrappleCameraFXOffset

FOVDegrees

float · Category: Grapple|CameraFX · Default: 0.0f

Degrees added on top of the camera's current field of view.

PropertyFGrappleCameraFXOffset

RollDegrees

float · Category: Grapple|CameraFX · Default: 0.0f

Degrees of roll added about the view forward axis on top of the current camera rotation.

PropertyUGrappleCameraFXComponent

GrappleFOVOffset

float · Category: Configs · Default: 10.0f

Additive field-of-view offset in degrees applied on top of the camera's current FOV while grappling.

PropertyUGrappleCameraFXComponent

FOVEnterSpeed

float · Category: Configs · Default: 8.0f

Interpolation speed used to blend grapple layer FOV toward GrappleFOVOffset on attach.

PropertyUGrappleCameraFXComponent

FOVExitSpeed

float · Category: Configs · Default: 6.0f

Interpolation speed used to blend grapple layer FOV back to zero after detaching.

PropertyUGrappleCameraFXComponent

MaxCameraRollDegrees

float · Category: Configs · Default: 12.0f

Maximum additive camera roll in degrees when swinging laterally relative to the grapple anchor.

PropertyUGrappleCameraFXComponent

RollInterpSpeed

float · Category: Configs · Default: 8.0f

Interpolation speed used to blend grapple layer roll during and after a grapple swing.

PropertyUGrappleCameraFXComponent

BlendSpeed

float · Category: Configs · Default: 8.0f

Interpolation speed used to blend custom named camera FX layers toward their targets.

PropertyUGrappleCameraFXComponent

CurrentGrappleRoll

float · Category: State · Default: 0.0f

Current blended additive roll in degrees on the reserved Grapple layer (for HUD readback).

PropertyUGrappleCameraFXComponent

CachedCamera

TWeakObjectPtr<UCameraComponent> · Category: General · Default: -

Configures cached camera under General.

PropertyUGrappleComponent

GrappleLength

float · Category: Configs · Default: 7000.0f

Maximum raycast distance in centimeters (cm) that the grapple can reach and latch onto geometry.

PropertyUGrappleComponent

GrappleDuration

float · Category: Configs · Default: 2.0f

Maximum time in seconds that a single grapple tether can remain active before automatically detaching.

PropertyUGrappleComponent

GrappleStrengthMultiplier

float · Category: Configs · Default: 1.0f

Global multiplier applied to both radial pull and pendulum swing forces (1.0 = default baseline strength).

PropertyUGrappleComponent

SwingingStrength

float · Category: Configs|Tuning · Default: 15.0f

Lateral acceleration strength applied when steering mid-air with WASD perpendicular to the tether line.

PropertyUGrappleComponent

PullStrength

float · Category: Configs|Tuning · Default: 8.0f

Radial pull acceleration strength applied toward the anchor point while tethered.

PropertyUGrappleComponent

Cooldown

float · Category: Configs · Default: 2.5f

Cooldown duration in seconds after detaching before the grapple can be fired again.

PropertyUGrappleComponent

StopDistance

float · Category: Configs · Default: 250.0f

Distance threshold in centimeters (cm) from the anchor point at which the grapple automatically detaches on arrival.

PropertyUGrappleComponent

bGrappleAllowed

bool · Category: Configs · Default: true

Runtime 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.

PropertyUGrappleComponent

TraceChannel

TEnumAsByte<ECollisionChannel> · Category: Configs · Default: ECC_Visibility

Collision 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.

PropertyUGrappleComponent

InputMappingContext

TObjectPtr<UInputMappingContext> · Category: Configs|Input · Default: -

Enhanced Input Mapping Context automatically registered on the local player when IA_Grapple is assigned.

PropertyUGrappleComponent

IA_Grapple

TObjectPtr<UInputAction> · Category: Configs|Input · Default: -

Enhanced Input Action bound automatically for hold-to-grapple (Triggered/Started enters, Completed/Canceled exits). Leave unset to drive TryEnterGrapple/ExitGrapple manually.

PropertyUGrappleComponent

InputMappingPriority

int32 · Category: Configs|Input · Default: 1

Priority level used when adding InputMappingContext to UEnhancedInputLocalPlayerSubsystem.

PropertyAGrappleSplineActor

AnchorOrigin

TObjectPtr<USceneComponent> · Category: Components · Default: -

Root scene component representing the character-side rope attachment origin.

PropertyAGrappleSplineActor

SplineMesh

TObjectPtr<USplineMeshComponent> · Category: Components · Default: -

Spline mesh component stretched from the character anchor to the grapple target point.

PropertyAGrappleSplineActor

HookMesh

TObjectPtr<UStaticMeshComponent> · Category: Components · Default: -

Hook static mesh positioned at the world-space grapple impact point.

PropertyAGrappleSplineActor

ChainMeshAsset

TSoftObjectPtr<UStaticMesh> · Category: Configs · Default: -

Soft reference to the static mesh used along the rope spline body.

PropertyAGrappleSplineActor

HookMeshAsset

TSoftObjectPtr<UStaticMesh> · Category: Configs · Default: -

Soft reference to the static mesh placed at the anchor end of the rope.

PropertyAGrappleSplineActor

Thickness

FVector2D · Category: Configs · Default: FVector2D(0.075f, 0.075f)

Cross-section scale (width, height) applied to the spline mesh segments.

PropertyAGrappleSplineActor

VelocityStiffness

float · Category: Configs · Default: -0.0006f

Multiplier controlling how much player velocity pulls the rope taut and reduces mid-air slack.

PropertyAGrappleSplineActor

Gravity

FVector · Category: Configs · Default: FVector(0.0f, 0.0f, -2.0f)

Gravity direction vector applied to the rope midpoint sag calculation.

PropertyAGrappleSplineActor

Heaviness

float · Category: Configs · Default: 150.0f

Rope weight multiplier controlling the vertical sag magnitude along the tether.

PropertyAGrappleSplineActor

bSplineVisible

bool · Category: State · Default: false

True while the grapple spline and hook meshes are visible during an active grapple.

PropertyAGrappleSplineActor

CurrentTargetWorld

FVector · Category: State · Default: FVector::ZeroVector

Current world-space target location of the grapple hook tip.

MethodUGrappleCameraFXComponent

BindCameraReferences

Specifiers: BlueprintCallable
I/O: In: UCameraComponent* InCamera
In: USceneComponent* InRotationTarget = nullptr

Explicitly binds a camera component for view-target checks when the owner uses multiple cameras or non-standard rigs.

MethodUGrappleCameraFXComponent

SetCameraFXLayer

Specifiers: BlueprintCallable
I/O: In: FName LayerId
In: const FGrappleCameraFXOffset& TargetOffset

Sets or updates a named custom camera FX layer that blends toward the target additive offset.

MethodUGrappleCameraFXComponent

RemoveCameraFXLayer

Specifiers: BlueprintCallable
I/O: In: FName LayerId

Blends a custom layer's target to zero and removes it once settled.

MethodUGrappleCameraFXComponent

ResetCameraFX

Specifiers: BlueprintCallable
I/O: None

Sets every layer target to zero and removes custom layers once settled.

MethodUGrappleCameraFXComponent

GetCameraFXLayerOffset

Specifiers: BlueprintPure
I/O: In: FName LayerId
Return: FGrappleCameraFXOffset

Returns the current blended additive offset for a layer (zero if unknown).

MethodUGrappleCameraFXComponent

GetTotalCameraFXOffset

Specifiers: BlueprintPure
I/O: Return: FGrappleCameraFXOffset

Sum of every layer's current blended additive offset (what the modifier applies on top of the view).

MethodUGrappleCameraFXComponent

GetCurrentRollDegrees

Specifiers: BlueprintPure
I/O: Return: float

Returns the current total additive roll in degrees across all layers.

MethodUGrappleCameraFXComponent

GetCurrentFOV

Specifiers: BlueprintPure
I/O: Return: float

Returns the camera's current FOV plus total additive FOV offset in degrees (does not read a written grapple FOV).

MethodUGrappleComponent

TrySetGrapple

Specifiers: BlueprintCallable
I/O: Out: FVector &OutImpactPoint
Return: bool

Performs 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.

MethodUGrappleComponent

TryEnterGrapple

Specifiers: BlueprintCallable
I/O: Return: bool

Attempts to fire the grapple along the view ray, attach to the hit point, show the registered spline tether, and start the max duration timer.

MethodUGrappleComponent

ExitGrapple

Specifiers: BlueprintCallable
I/O: None

Detaches the active grapple tether, hides the spline actor, broadcasts OnGrappleExited / OnGrappleStateChanged, and starts the cooldown timer.

MethodUGrappleComponent

ComputeGrappleForceSwing

Specifiers: BlueprintCallable
I/O: Out: FVector &OutNormalizedSwing
Return: FVector

Computes the perpendicular pendulum swing force vector from the player's WASD input relative to the anchor vector and outputs the normalized swing direction.

MethodUGrappleComponent

ComputeGrappleForceTowardAnchor

Specifiers: BlueprintCallable
I/O: Return: FVector

Computes the radial pull force vector directed toward the active grapple anchor point scaled by PullStrength and GrappleStrengthMultiplier.

MethodUGrappleComponent

VectorFrameRateCorrection

Specifiers: BlueprintPure
I/O: In: const FVector &BaseImpulse
In: float DeltaTime
Return: FVector

Scales a base impulse vector by DeltaTime relative to a 60 FPS reference step so grapple pull and swing distances stay consistent across framerates.

MethodUGrappleComponent

SetSplineActor

Specifiers: BlueprintCallable
I/O: In: AActor *InSplineActor

Registers an AGrappleSplineActor (or any actor implementing IGrappleSplineContract) to render and update the procedural rope tether during active grapples.

MethodUGrappleComponent

SetGrappleAllowed

Specifiers: BlueprintCallable
I/O: In: bool bAllowed

Enables or disables grapple permission at runtime; detaches an active grapple immediately when set to false.

MethodUGrappleComponent

IsGrappleAllowed

Specifiers: BlueprintPure
I/O: Return: bool

Returns true when grappling is currently permitted by the bGrappleAllowed gate.

MethodUGrappleComponent

IsGrappling

Specifiers: BlueprintPure
I/O: Return: bool

Returns true while the player is actively tethered to a grapple point.

MethodUGrappleComponent

IsOnCooldown

Specifiers: BlueprintPure
I/O: Return: bool

Returns true while the grapple is on cooldown after detaching and cannot be re-entered.

MethodUGrappleComponent

GetCooldownRemainingRatio

Specifiers: BlueprintPure
I/O: Return: float

Returns the normalized [0..1] cooldown remaining ratio (1.0 when just exited, 0.0 when ready to fire) for HUD meters and crosshair feedback.

MethodUGrappleComponent

GetGrapplePoint

Specifiers: BlueprintPure
I/O: Return: FVector

Returns the world-space coordinates of the current (or most recent) grapple anchor point.

MethodAGrappleSplineActor

CalculateSpline

Specifiers: BlueprintCallable
I/O: In: const FVector& TargetLocationInLocalSpace
In: const FVector& PlayerVelocityLocal

Recomputes spline start/end tangents and hook orientation in local space using the target offset and player velocity.

DelegateUGrappleCameraFXComponent

OnCameraFXLayerChanged

Params: FName, LayerId, const FGrappleCameraFXOffset&, TargetOffset

Broadcast when a layer's target offset is set or cleared (including the built-in Grapple layer).

DelegateUGrappleCameraFXComponent

OnCameraFXReset

Params: void

Broadcast when ResetCameraFX targets all layers to zero.

DelegateUGrappleComponent

OnGrappleStateChanged

Params: bool, bIsGrappling

Broadcasts true when a grapple attaches and false when it detaches.

DelegateUGrappleComponent

OnGrappleEntered

Params: const FVector &, GrapplePoint

Broadcasts the world-space anchor point immediately when a grapple attaches.

DelegateUGrappleComponent

OnGrappleExited

Params: float, CooldownDuration

Broadcasts the active Cooldown duration in seconds when a grapple detaches.

InterfaceIGrappleCharacterContract

GetGrappleViewLocation

Specifiers: BlueprintCallable, BlueprintNativeEvent
I/O: Return: FVector

Returns the world-space eye/camera origin from which grapple traces are cast.

InterfaceIGrappleCharacterContract

GetGrappleViewForward

Specifiers: BlueprintCallable, BlueprintNativeEvent
I/O: Return: FVector

Returns the normalized world-space forward aim vector for grapple traces.

InterfaceIGrappleCharacterContract

GetGrappleRightVector

Specifiers: BlueprintCallable, BlueprintNativeEvent
I/O: Return: FVector

Returns the normalized world-space right vector used to compute perpendicular swing forces.

InterfaceIGrappleCharacterContract

GetGrappleMoveInput

Specifiers: BlueprintCallable, BlueprintNativeEvent
I/O: Return: FVector2D

Returns the 2D horizontal movement input (X = right, Y = forward) used for mid-air swing steering.

InterfaceIGrappleCharacterContract

GetGrappleAnchorOrigin

Specifiers: BlueprintCallable, BlueprintNativeEvent
I/O: Return: FVector

Returns the world-space origin where the grapple tether attaches on the character (e.g., hand or launcher socket).

InterfaceIGrappleSplineContract

ShowSpline

Specifiers: BlueprintCallable, BlueprintNativeEvent
I/O: In: const FVector &HitLocation

Shows the grapple rope/spline and snaps its endpoint to the world hit location.

InterfaceIGrappleSplineContract

HideSpline

Specifiers: BlueprintCallable, BlueprintNativeEvent
I/O: None

Hides the grapple rope/spline when the grapple detaches.

InterfaceIGrappleSplineContract

UpdateSplineTarget

Specifiers: BlueprintCallable, BlueprintNativeEvent
I/O: In: const FVector &TargetPositionWorld
In: const FVector &PlayerVelocity

Updates the spline endpoint and mid-air sag curvature each tick using the target world position and player velocity.

InterfaceIGrappleListener

OnGrappleEntered

Specifiers: BlueprintCallable, BlueprintNativeEvent
I/O: In: const FVector &GrapplePoint

Called when a grapple attaches to the specified world-space anchor point.

InterfaceIGrappleListener

OnGrappleExited

Specifiers: BlueprintCallable, BlueprintNativeEvent
I/O: In: float CooldownDuration

Called when a grapple detaches and begins its cooldown period.

StructGrappleCameraFXComponent.h

FGrappleCameraFXOffset

Additive FOV and roll offsets applied on top of the active camera view (degrees).