Pointer beam
A standard Varwin object that is used to set up the pointer beam that the user sees coming out of the controller in VR mode. It is a "technical" object - it is not displayed to the player in play mode, but its blocks are triggered according to the selected logic.
Properties of the "Pointer Beam Settings" object
Like most standard objects, it has its own unique set of properties, such as:
- Distance is a parameter indicating the maximum distance of interaction with objects
- Initial width
- Final width
- Start color
- End color
Blockly
The main interaction with the object takes place inside the built-in Blockly logic editor
The following block types are set for the object by default:
Variables
Contains a block of variables that return the pointer beam settings
Action Blocks
Contains action blocks for configuring the beam, namely:
- Set distance - sets the maximum distance of interaction with objects;
- Set the start/end width of the beam;
- Set the start/end color of the beam.
The beam color setting is set in 0-1 format in three cells, each responsible for red green and blue (RGB)
