Ends Today: Save up to 95% on the Time Travel Mega Bundle!

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 (such as interaction bindings or traces) 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! A support-only Discord server is available for questions or support, however, the documentation, a basic demo, and example projects should provide enough information to get you started. This provides a great alternative to the usage of interfaces in your projects! Additional updates and support is planned. If you are having issues, please reach out on Discord by creating a support ticket.


Note for plugin content with Unreal Engine 5.0:

With the migration to Unreal Engine 5.0, the included User Widget isn't visible on focus as it was in previous engine versions. I'm currently investigating this.


Note for plugin features and support for Unreal Engine 4.25:

With the release of Unreal Engine 5.0, I can no-longer maintain this version of the plugin in the Unreal Marketplace. The plugin is fully supported in 4.25 as of my recent changes, so please reach out on the support-only Discord for steps to backport the plugin.

Technical Details

Features:

  •  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: OnProximityEnter, OnProximityLeave, 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

Contact/Support: https://discord.gg/7GmgTRSzNZ

Documentation: https://docs.google.com/document/d/1gQE2VADXc0YSFw3C-D3dd0iRFeWdVOYSLhiVEDI6HG0/edit?usp=sharing

Demo Project: https://drive.google.com/u/0/uc?id=1FJv4LHeDf5cWqvB6t9jujXBg8KXLPMHe&export=download

Example Projects: https://drive.google.com/drive/folders/1BsJ-5qbF9l7LTpmtc2u7WyGr-JyJ8-JA?usp=sharing

S
Spronkets
All Assets by Author
4.74 
Platforms Windows 64-bit
UE Versions 4.26 - 4.27, 5.0 - 5.1
Tags INTERACTION SYSTEM, INTERACTION, INTERACT, CODE PLUGIN
Release date 26.07.2021

Similar products

Image
Sign In
Image
Sign Up
Image
Recovery