This page has been translated automatically.
UnigineScript
The Language
Core Library
Engine Library
Node-Related Classes
GUI-Related Classes
Plugins Library
High-Level Systems
Samples
Usage Examples
C++ API
API Reference
Integration Samples
Usage Examples
Migration
Migrating to UNIGINE 2.0
C++ API Migration
Migrating from UNIGINE 2.0 to UNIGINE 2.1
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Внимание! Эта версия документации описывает устаревшую версию SDK, которая больше не поддерживается! Пожалуйста, обновитесь до последней версии SDK.

Sixense Plugin

A Sixense plugin is used for Razer Hydra 3D controller integration.

To use the Razer Hydra 3D controller with Unigine, perform the following:

  1. Plug in the Razer Hydra
  2. Get and configure the Sixense SDK
  3. Implement the logic of the application and launch the Sixense plugin on the application start-up

See Also

To run the plugin sample from the Unigine SDK Browser, press the Sixense plugin button on the Plugin Samples tab.

Launching Sixense

To use the plugin, specify the extern_plugin command line option on the start-up:

Shell commands
-extern_plugin "Sixense"

Also you can create a new project with the Razer Hydra controller support by checking the Plugin for Razer Hydra integration option on the New Project tab of the Unigine SDK Browser.

Plugin Compilation

Sixense SDK sources are required for the Sixense plugin compilation:

  1. Get the Sixense SDK
  2. Set path to the <Sixense SDK> folder in the SIXENSEROOT environment variable:
    Shell commands
    SIXENSEROOT=<Sixense SDK>
  3. Compile the plugin with the build script:
    Shell commands
    C:\UnigineSDK\utils>build.py --plugin Sixense
    You can also compile the plugin manually with Scons:
    • Go to the <UnigineSDK>\source\plugins\Hardware\Sixense via the command line
    • Type scons and press ENTER:
      Shell commands
      C:\UnigineSDK\source\plugins\Hardware\Sixense>scons
Last update: 03.07.2017
Build: ()