A series of components that can be dropped into actors to allow for a relatively quick and easy method for interacting with and possessing other actors. This handles both entering and exiting an actor.
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.
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