Update Laser Pointer authored by dev2_just2devs's avatar dev2_just2devs
...@@ -14,6 +14,10 @@ In the laser pointer properties you will find options to update how the laser po ...@@ -14,6 +14,10 @@ In the laser pointer properties you will find options to update how the laser po
The laser pointer class property is the custom class of the laser pointer that will spawned at runtime. A laser pointer class must inherit from **HT Laser Pointer Base**, the latter defines how the laser pointer interacts with your hand and provides means to create the visuals for a laser pointer. The laser pointer class property is the custom class of the laser pointer that will spawned at runtime. A laser pointer class must inherit from **HT Laser Pointer Base**, the latter defines how the laser pointer interacts with your hand and provides means to create the visuals for a laser pointer.
| :warning: WARNING |
|:---------------------------|
| When testing the laser pointers for the first time a very common issue is having a huge mesh in the level with collisions enabled (e.g. a skybox). If the player finds itself inside of this mesh the laser pointers will always trace against it and will not be able to trace against widgets or any other mesh. Run the command "HT.LaserPointer.PrintState true" to print to the screen the currently traced mesh. Once you have found the mesh that the laser pointers trace against make sure to disable its collisions. |
![Capture](uploads/85a500e0aa5911cb8b589686edc06afb/Capture.png) ![Capture](uploads/85a500e0aa5911cb8b589686edc06afb/Capture.png)
The hand tracking plugin comes with three examples for laser pointers, two of them are the same example implemented in blueprints and C++ to show how you can use the **HT Laser Pointer Base** in both languages. The other example is implemented in C++ and shows how the Oculus Quest native laser pointer could be implemented using our plugin and interfaces. You can find the two blueprint examples inside the plugin's content folder and the C++ example inside the plugin source code. The hand tracking plugin comes with three examples for laser pointers, two of them are the same example implemented in blueprints and C++ to show how you can use the **HT Laser Pointer Base** in both languages. The other example is implemented in C++ and shows how the Oculus Quest native laser pointer could be implemented using our plugin and interfaces. You can find the two blueprint examples inside the plugin's content folder and the C++ example inside the plugin source code.
... ...
......