Area Interact

Look at object

Step by step how to use system (Overview)


-First contact with project.

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)

Captura de tela 2025-01-17 084718.png

You will see the following folders:

Captura de tela 2025-01-21 200412.png

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)

Captura de tela 2025-01-21 201320.png

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.

Captura de tela 2025-01-21 202917.png

Now that the input has been removed, let's go back to the folders:

Captura de tela 2025-01-21 200412.png

Right-click the InteractSystemAssets folder, and click "Migrate”.

Captura de tela 2025-01-21 203344.png

After clicking on "Migrate", this window below will appear, do not change anything, just click on "Ok”

Captura de tela 2025-01-21 203445.png

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.

Captura de tela 2025-01-21 203558.png

Now we will learn how to configure the system, in other Projects.

First let's add it to our player.


Adding component to the 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.

Captura de tela 2025-01-17 091319.png

And search for the component to add to the player

Captura de tela 2025-01-17 091724.png

In the character's "begin play" event, pull the function shown in the image below:

Captura de tela 2025-01-27 133116.png

And in the "Player" input pull a self reference.

Captura de tela 2025-01-27 133216.png

Let's create a new collision type.


-Creating a new collision type

Click on "Edit", this button is in the top left.

Captura de tela 2025-01-19 103529.png

A window will open, click on "Project Settings”

Captura de tela 2025-01-19 103701.png

In the Project Settings window, look for "Collision”

Captura de tela 2025-01-19 103845.png

In the Collision window, click on "New trace Channel”

Captura de tela 2025-01-19 104051.png

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".

Captura de tela 2025-01-19 105021.png

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.


Creating input for interaction

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.

Captura de tela 2025-01-17 093752.png

Click on the input folder

Captura de tela 2025-01-17 093801.png

Click on the actions folder

Captura de tela 2025-01-17 093810.png

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.

Captura de tela 2025-01-17 094311.png

Find and click on the INPUT option.

You will see a drop down menu, within that drop down menu click on INPUT ACTION

Captura de tela 2025-01-17 094650.png

Rename to IA_Interact