Skip to content

1. Initial Setup

J1blCblu edited this page Mar 6, 2022 · 25 revisions

Setting up the plugin

  • Engine plugin - enable plugin in Edit/Plugins/LockOnTarget.
  • Project plugin - clone the repository to Project's Plugins folder. Generate project files and build Project.

Initial Character setup

  1. Add LockOnTargetComponent to your character.

image

  1. Add DefaultTargetHandler to TargetHandlerImplementation.

image

  1. Add LazyInterpolationMode in ControlRotationModeConfig.

image

  1. Update Character input.
  • Capturing and Releasing Target:

image

  • Switching Target with axis input:

image

Initial Targets setup

  1. Add TargetingHelperComponent to every Target.

image

  1. Change None socket to the desired.
  2. Change MeshName to the desired (if multiple Meshes).

image

Clone this wiki locally