Component Interaction System

Spronkets - 2021/07/26

Jump start any project with a simple and effective interaction system.

  • 지원 플랫폼
  • 지원 엔진 버전
  • 다운로드 유형
    엔진 플러그인
    이 제품은 코드 플러그인과 함께 미리 빌드한 바이너리와 언리얼 엔진에 통합되는 모든 소스 코드를 포함하고 있으며 원하시는 엔진 버전에 설치하여 프로젝트에 따라 활성화할 수 있습니다.

An interaction system is useful when you want a player to be able to interact with objects in the level. This could be to open a door, ignite a campfire, push a button, pick up items, and so forth. This plugin supports most of these use cases in an intelligent, plug-n-play manor. No need to implement these interaction behaviors in your Character/Pawn or in the object to interact with. All you care about is the expected result, right? Simply add the input bindings you wish to support in your Project Settings, add the "InteractorComponent" to your Character/Pawn in either C++ or BP ("Interactor"), then add the "InteractableComponent" to the Actor to interact with in either C++ or BP ("Interactable"). That's it! Now you can implement your own functionality when the appropriate interaction events are fired! Example documentation provided, as well as a support-only Discord server, however, the First Person Example Project and the Third Person Example Project should provide enough information to get you started! This provides a great alternative to the usage of interfaces in your projects! Additional updates are planned to add new features. If you are having issues, please reach out on Discord.

기술적 세부사항


  •  InteractorComponent - ActorComponent used to extend the owning Pawn to add the ability to detect an InteractableComponent and instigate interaction events.
  • Supported Action input bindings: Interact, InteractStepUp, InteractStepDown
  • Supported Axis input binding: InteractStep
  •  InteractableComponent - WidgetComponent to allow an Actor that has a mesh with collision to be detectable by the InteractorComponent and handle interaction events. This can be assigned a Widget Class for UI display.
  • Events emitted: OnStartFocusing, OnStopFocusing, OnStartInteracting, OnStopInteracting, OnInteract, OnInteractStep
  •  InteractableWidget - UserWidget intended to display data for an InteractableComponent
  • PP_Outline - Example outline material to outline an InteractableComponent
  • PP_Outline_Inst - An instance of PP_Outline
  • WBP_Interactable - Example of an InteractableWidget UI

Code Modules:

  •  ComponentInteractionSystem, Runtime

Number of Blueprints: 3

Number of C++ Classes: 3

Network Replicated: No

Supported Development Platforms: Win64

Supported Target Build Platforms: Win64



Example Project: