XRSPACE Developer Console

Component - ControllerBehaviour

../_images/Component-ControllerBehaviour.png

With this component, it will process the all behaviour of controller, including draw beamrender and teleport.

There are some options for developers to set:

  • CTLRaycaster: The current XRCTLRaycaster.

  • Device: Handler_Right / Handler_Right

  • TriggerButton: The button to trigger teleport.

  • EndPoint: The end point of beamrender.

  • DistanceRenderer: When raycaster has hitresult, it will use this linerender.

  • InfinityRenderer: When raycaster has no hitresult, it will use this linerender.

  • PointDistMax: Determine the max distance of beamrender.