XRSPACE Developer Console

Sample - Handler

Introduction

Our System can identify HandMotion’s pose and action as below:

  • HandGesture

    • Hand - Open OutWard

    ../_images/Sample-HelloXR-Open.jpg
    • Hand - Open InWard

    ../_images/Sample-HelloXR-Open-Inward.jpg
    • Hand - Index OutWard

    ../_images/Sample-HelloXR-Index.jpg
    • Hand - Index InWard

    ../_images/Sample-HelloXR-Index-Inward.jpg
    • Hand - Fist OutWard

    ../_images/Sample-HelloXR-Fist.jpg
    • Hand - Fist InWard

    ../_images/Sample-HelloXR-Fist-Inward.jpg
  • HandActionGesture include InWard/OutWard

    • IndexDown/PointerDown

    ../_images/ActionGseture-IndexDown1.png
    • IndexUp/PointerUp

    ../_images/ActionGseture-IndexUp1.png
    • Grab

    ../_images/ActionGseture-Grab1.png
    • Release

    ../_images/ActionGseture-Release1.png

Note

Direction

  • The direction of raycaster is shoulder to middle finger’s knuckle, user can control the direction of raycaster by move hand in scene to select the UI or Object.

Method

  • There are two methods for user to interact with gameobject as below:

    • Click: User can use IndexDown/PointerDown to click or drag the UI, and Teleport to the position where is raycaster direction point.

    • Drag: User can use Grab to take the Gameobject.

Handler status change:

  • 6DoF to 3DoF:

../_images/3DoFto6DoF.png
  • 3DoF to 6DoF:

If camera find hand, it will change to 6DoF directly.

Using Scripts

ControllerBehavior.cs

This script handle the beamrender and definate the behaviour when press the button on controller.

../_images/ControllerBehavior.png

Note

More detail description, please vivst Component - ControllerBehaviour.

XRCTLRaycaster.cs

This script handle the priority of UI, object and teleport raycaster.

../_images/XRCTLRaycaster.png

Note

More detail description, please vivst Component - XRCTLRaycaster and API - XRCTLRaycaster.

HandBehavior.cs

This script handle the beamrender and definte the behavior when change gesture or actiongesture.

../_images/HandBehavior.png

Note

More detail description, please vivst Component - HandBehaviour.

XRHandRaycaster.cs

This script handle the priority of UI, object and teleport raycaster.

../_images/XRHandRaycaster.png

Note

More detail description, please vivst Component - XRHandRaycaster and API - XRHandRaycaster.

TeleportEffectControl.cs

This script handle the teleport effect of controller and hand.

../_images/TeleportEffectControl.png

Note

More detail description, please vivst Component - TeleportEffectControl.