Configuring User Input (Unreal Engine)
Avatars in the Cavrnus plugin are preconfigured for specific inputs. While these configurations can be modified for your specific project, you may encounter warnings if your project is not configured to receive these input actions.
BP_BasePawn
/CavrnusConnector/Pawns/Blueprints/BP_BasePawn
Parent: Character class
Most avatars that come predefined in the Cavrnus plugin use the BP_BasePawn blueprint as a base. This blueprint defines the following features:
Mesh (Character Mesh)
CavrnusPropertiesContainer2
Collision (Root node)
Arrow Component
Spring Arm
VisualOpacityOverlap
NameTagWidget
CavrnusPropertiesContainer1
Required Inputs
Input Type | Input Name | Input Method | Description |
---|---|---|---|
Action | RotateView | Right Mouse Button | Enables camera rotation to change the user’s view direction. |
Action | ShootLaser | Left Mouse Button | Display laser pointer while in view. |
BP_CavrnusPawn
/CavrnusConnector/Pawns/Blueprints/BP_CavrnusPawn
Parent: BP_BasePawn
This pawn is designed specifically for moving freely around a level running on a desktop PC, as opposed to a touchscreen device or VR headset. This pawn adds mobility in the scene on top of the inherited features from its parent:
Required Inputs
Input Type | Input Name | Input Method | Description |
---|---|---|---|
Axis | FlyUp | {“Keyboard E”:1, “Keyboard Q”:-1} | Move up and down in the 3D view. |
Axis | LookRight | MouseX | Pan the view left and right based on mouse movement. |
Axis | LookUp | MouseY | Pan the view up and down based on mouse movement. |
Axis | WalkRight | {“Keyboard D”:1, “Keyboard A”:-1} | Strafe right and left based on WASD keys. |
Axis | WalkForward | {“Keyboard W”:1, “Keyboard S”:-1} | Move forward and backward based on WASD keys. |