After you create the project, open the project that was created, so you can see the Demo map and the Interact system files.
Click on the system folder (Advanced Interact System)
You will see the following folders:
Let's just focus on the folder AdvancedInteractSystemAssets, you only need to migrate this folder to your project, but before doing that we need to remove an Input that comes by default, if we don't remove it there is no problem, the reason for removing it is that if it is not removed, in the migration process, the other folder will also come.
Click on the InteractSystemAssets folder, and then click on the Components folder, you will find two components, open the component (BPC_InteractToPlayer)
These are the components that will make the system work.
As soon as you open it you will see an input, this input is there to work on the demo map, but for now we will remove this input.
Now that the input has been removed, let's go back to the folders:
Right-click the InteractSystemAssets folder, and click "Migrate”.
After clicking on "Migrate", this window below will appear, do not change anything, just click on "Ok”
After pressing "Ok", your computer's folder browser will appear, look for your project folder, and choose the "Content" folder of your project as the destination, wait for the files to be migrated and after that, you can close the InteractSystem project, and open your project.
Now we will learn how to configure the system, in other Projects.
First let's add it to our player.
For this documentation, I will be using the third person project template
Inside your character's blueprint, click the add button located in the top left.
And search for the component to add to the player
In the character's "begin play" event, pull the function shown in the image below:
And in the "Player" input pull a self reference.
Let's create a new collision type.
Click on "Edit", this button is in the top left.
A window will open, click on "Project Settings”
In the Project Settings window, look for "Collision”
In the Collision window, click on "New trace Channel”
The Trace Channel created for the interaction system must be the first on the list. If you have created other traces, look at the Look at object page, there I explain how to handle this new collision if you have others in your project.
Enter the name of your preference, I entered "LookAtObject". Choose "Overlap" in "Default Response".
After creating a new collision type, you can close the project settings window and move on to the next steps.
Now let's adjust the input to interact inside the component.
I will be using Enhanced input in this documentation, I recommend you use Enhanced input for this system works well.
Since I'm using the third person template, I'll follow the existing folder pattern to create the input.
Find the ThirdPerson folder, or the folder where your inputs are.
Click on the input folder
Click on the actions folder
In this folder we will create the input to interact.
Right-click on an empty area within the actions folder, this will open a menu with several options.
Find and click on the INPUT option.
You will see a drop down menu, within that drop down menu click on INPUT ACTION
Rename to IA_Interact