Description
Demo Video: https://www.youtube.com/watch?v=TBVQavoWHSQ&feature=youtu.be
Example Video: https://www.youtube.com/watch?v=ziM7o6gQNHs
Interact And Possession System is a series of Actor Components that you can add to other actors in your game to allow for a relatively quick and easy method to interact with objects, get info on what types of interactions you might be making, and possess other pawns. The system gives you a variety of options such as having multiple parts of an actor able to be interacted with to entered, and also providing you multiple locations to exit it from with various rules controlling how these relate to each other.
This type of setup can allow you to set up other interact responses like opening the trunk if a player interacts with the rear of the car and you can provide feedback through the Look At Info system so that whenever a player is in a situation to interact with part of an actor they can receive information on what type of interaction they can make (most likely you’ll want to plug the returns of this system into your User Interface). This project was made to be useful for newer developers, but also capable enough to help you keep saving time in the long run.
This system can be used to possess vehicles, turrets, bathroom stalls, hide in cardboard boxes, or just about anything else that involves shifting control from one actor to another. The interaction system is by default set up to be used by performing traces from your character towards what you are looking at, but is open ended enough that if you are using a different approach you can still make the rest of this system work in most cases. This system is also replicated and supports multiplayer games.
Technical Details
Features:
Number of Blueprints: 11 total, 5 Actors for demonstration, 4 Actor Components, 1 Blueprint Interface.
Input: Demonstration uses keyboard and mouse inputs including default Third Person input Axis, but you can use whatever you need in your projects.
Network Replicated: Yes
Supported Development Platforms: Windows
Supported Target Build Platforms: Windows
Documentation: https://docs.google.com/document/d/1FhcQXLdDknTPV7rFhXB-dtvYuUkodOxI84_7VJJ8hj4/edit
Supported Engine Versions
4.18 – 4.27, 5.0 – 5.3