-
Notifications
You must be signed in to change notification settings - Fork 17
1. Initial Setup
J1blCblu edited this page Oct 5, 2023
·
25 revisions
This page is up to date to the latest version.
Previous versions
| Plugin Version | Supported Unreal Versions |
|---|---|
| 1.6.x | 5.1-5.3 |
| 1.5.x | 5.1-5.2 |
| 1.4.x | 5.0-5.2 |
| 1.2.x | 4.26-5.0 |
- Add LockOnTargetComponent to your character.

- Set
TargetHandlerImplementationto WeightedTargetHandler.

- Input Setup.
Input Overview.
- Target capturing and releasing:

- Target switching with an axis input:

- Make sure to enable
UsePawnControlRotationandEnableCameraLagin SpringArmComponent.

- Add ControllerRotationExtension to
DefaultExtensions.

- (Optional) If you want to smoothly apply camera zoom, you can add CameraModifierExtension.

- Add WidgetExtension to
DefaultExtensions.

- Add PawnRotationExtension to
DefaultExtensions.

- Add OnTargetLocked/Unlocked events from LockOnTargetComponent and disable
bOrientRotationToMovementin CharacterMovementComponent if used.


- Add TargetComponent to the desired AActor.

- Select the mesh in
AssociatedMeshName, which is used for Socket lookup, Widget attachment, etc. If None then the root component will be used.

- Select the desired sockets in
Sockets.
At least one socket should be specified.

-
(Optional) If you want to preview a potential Target, you can add TargetPreviewExtension to
DefaultExtensions.

Be sure to read this before packaging your project.