Documentation for the Unreal C++ Plugin
Loading...
Searching...
No Matches
Main character tools

We have a number of tools that allow users to interact with the environment.

Laser pointer

APixoVRLaser allows user to select something on UI or to interact with items that inherit UPixoVRInteractionInterface. It will call hover and press events in those objects or buttons. You also can disable these events by overriding IPixoVRInteractionInterface::DisableHoverEvents and IPixoVRInteractionInterface::DisablePressEvents.

Teleporter

APixoVRTeleporter allows user to move around the scene using teleportation. It allows to move only within the boundaries of NavMesh. You can also bind to OnTeleportationActivated in APixoVRCharacter, this is already implemented in UGameManager. If you want to diasble teleporter you will need to set bTeleporterEnabled in APixoVRCharacter to false.

Wrist Menu

APixoVRWristMenu is a small UI menu on the wrist that allows you to select different options using the thumbstick or numbers from 1 to 8. To add WristMenu to your APixoVRCharacter, you need to set WristMenuClass with wrist menu that has WidgetDataTable.

Attention
You cannot create a wrist menu only with only one item for selection You can add wrist menu not only to hand, but also to another actor. Good example you can see in CE_Pigging in APT_Radio.