最後のチャンス!2月のセールは2月22日午後11時59分 (日本時間) に終了します。

Target System Component Plugin

An UE4 plugin written entirely in C++ which adds support for a simple Camera Lock On / Targeting system.

  • サポートされたプラットフォーム
  • サポートされたエンジンバージョン
    4.21 - 4.27, 5.0 - 5.3
  • ダウンロードのタイプ
    エンジン プラグイン
    この製品には、コード プラグインが含まれており、ビルド済みのバイナリと Unreal Engine に統合される全ソースコードが完備されています。任意のエンジン バージョンにインストールし、プロジェクト毎に有効化することが可能です。

An UE4 plugin written entirely in C++ which adds support for a simple Camera Lock On / Targeting system. It was first developed and tested in Blueprints, and then converted and rewritten into a C++ module and plugin.


Features:

  • Customizable with a set of options that can be overridden in Blueprints.
  • Easy setup: only one Actor component to attach and a minimum of one functions to bind to input.
  • Target closest enemy (Pawns by default, customizable with TargetableActors UPROPERTY).
  • Break on Line of Sight when getting behind an object.
  • Break Target when getting outside minimum distance to enable.
  • Simple TargetLockedOn Widget included, can be customized / overridden.
  • Option to control character rotation when locked on.
  • Switch to new target with axis input (on mouse / gamepad axis movement).
  • Two Blueprint implementable events on component on Target Locked On and Off.
  • 100% open source for anyone to compile from the source code repository


Added in 1.3.0 (for Engine version 5.1)

  • Update example map to use Enhanced Input bindings


Added in 1.27.0 (for Engine version 4.26 / 4.27 / 5.0)

  • Added support for Local multiplayer Split Screen


Added in 1.26.0 (for Engine version 4.26)

Several small quality of life updates and minor tweaks (thanks to @josator)

  • Flag to allow Pitch input while targeting (look up/down).
  • Collision channel as UPROPERTY configurable in editor
  • StartRotating set to < 1.0 to allow usage with controller sticks
  • UFUNCTION to detect target system status on blueprint


Misc:

  • Added Test Map within Plugins Content folder.
  • Lowered PitchDistanceOffset value to have a slightly better view at close range by default
  • Set ShouldControlRotation to false by default


Documentation: Code repository / Setup and Installation

Releases and Changelog: https://github.com/mklabs/ue4-targetsystemplugin/releases

Support: Discord Server

テクニカルノート

Code Modules:

  • TargetSystem (Type: Runtime, LoadingPhase: Default, Platforms: Win64, Win32)


Number of Blueprints: 1

Number of C++ Classes: 3

Network Replicated: No

Supported Development Platforms: Windows

Supported Target Build Platforms: Windows

Supported Development Platforms: Windows

Supported Target Build Platforms: Win64, Win32