BPAC_LPSP_Interactor

Introduction

The Interactor Component (BPAC_LPSP_Interactor) is the actor component in the asset that handles all of the player character's interactions. It traces to search for different interactables and stores the possible interactions.

If you seek to access the BPAC_LPSP_Interactor, it is conveniently located at the following path: InfimaGames/LowPolyShooterPack/Core/Health/BPAC_LPSP_Interactor.

Editable Variables

Enabled:

Setting this variable to false will essentially prevent this component from taking any action.

Distance:

Maximum distance of interaction.

Radius:

Radius of the trace.

Object Types Below:

Object types that will trigger the trace downwards.

Object Types Forward:

Object types that will trigger the trace forward.

Private Variables

Owner:

Reference to the owner of this component.

Hit Result:

Hit result we’re using for all the interactions here.

Location:

Location to start the check trace for interactions from.

Forward:

Forward vector to trace towards.

Type:

This value determines the type of interaction currently taking place.

Character:

This value refers to the character that owns this component.

Functions

Reset Type:

This resets the type of interaction we are currently dealing with.

Try Assign Type:

Tries to assign a type to the interaction.

Set Distance:

Sets the value of the distance variable.


Last updated

Was this helpful?