Setup
Last updated
Last updated
Setting up S.B.I. (Simple Basic Interactions) is quick and easy. Follow the steps below to get your player character ready to interact with the world.
Add the AC_PlayerInteractions
Actor Component to your Player Pawn or Character.
This component handles all logic related to detecting and interacting with objects in the world.
You’ll need to assign your active player camera to the component. This is important because all interaction line traces originate from this camera’s forward direction.
For first-person and third-person setups, this should be all you need!
If you switch cameras during gameplay (e.g. cutscenes, aim mode, etc.), make sure to update the component with the new active camera.
Inside the AC_PlayerInteractions
component, you can modify the DistanceToInteract
float. This value defines how far the interaction line trace will reach from the camera.
If you're working on a top-down or camera-independent setup, you can customize the FindInteractions
function inside AC_PlayerInteractions
to suit your input direction or world location logic.
By default, the interaction system uses an Enhanced Input Action called IA_Interaction
, which is mapped to the E key.
⚠️ If you're already using
E
for other gameplay elements, don’t forget to remap the key or reassign your input bindings.