1、Create a data asset and select TNT Grapple Hook PDA
2.Specify the newly created grapple hook data asset in the TNT FLS Component Status PDA
3、Configure the required data in the data asset
Hook
Hook | The Hookused can be customized |
HookAttachSocketName | SocketName |
Rope
Rope | The rope used can be customized | |
RopeAttachEndToComponentProperty | AttachEndToComponent | |
RopeAttachEndToSocketName | AttachEndToSocket | |
RopeAttachSocketName | AttachSocke |
Use hook Montage
4、Set character blueprint
Call this function to execute the Throw
6、Add Anim Notify
Notify :
HookVisibility
ShowHook
SetCharacterRotation
FocusAllow
Allow continued use of the Grapple
AnimationEnd
Notify State:
HookThrow
HookPickUp
CharacterMovement
LerpCharacterRotation
7、HookeablePoint
Connection point for Grap hook
Max Update Distance | UI will not be displayed beyond this limit |
Min Update Distance | UI will not be displayed below this limit |
CanBack | Can jump back and use it with BackLandPoint |
JumpHeight | Altitude in flight |
Start Grap Distance | Range of distances where the Grapple hook can be used |
Activable Area Box Extent |
HookPoint | Target point of hook |
LandPoint | Player's landing point |
BackLandPoint | Jump back to the target point |
ForwardArrow | Forward facing arrow, facing LandPoint, To distinguish front from back |
CheckSphere | Check whether this point is valid |
Activable Area Box Extent | Players enter this box to activate this point |
Drag the HookeablePoint into the scene and place it in the appropriate location.
Start your Grapple Hook