This page has been translated automatically.
UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Landscape Tool
Using Editor Tools for Specific Tasks
Extending Editor Functionality
FAQ
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
API
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
Rendering-Related Classes
Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Warning! This version of documentation describes an old SDK version which is no longer supported! Please upgrade to the latest SDK version.

TeslaSuit Plugin

Teslasuit is a full-body haptic feedback suit that uses electric impulses to create sensations, traces the body motions, and captures the user's biometrics.

The TeslaSuit plugin provides integration with the suit and related software.

The plugin allows controlling the Teslasuit service receiving the following types of data:

  • User motions
  • Haptic feedback
  • Biometry
  • Information about the suit

Notice
Teslasuit is available for Windows only.

See Also#

  • TeslaSuit Plugin classes
  • C++ sample illustrating the basic aspects of working with the plugin:
    source/samples/3rdparty/TeslaSuit

System Requirements#

Teslasuit SDK should be installed in your network or PC. Otherwise the plugin would not work.

Implementing Unigine Application with Teslasuit Support#

To use the TeslaSuit plugin in your UNIGINE application, perform the following:

  1. Download and install the Teslasuit SDK.
  2. Create a new project with Teslasuit support via UNIGINE SDK Browser: click Plugins, check the Teslasuit support (TeslaSuit plugin) option in the form that opens and click OK.

    TeslaSuit Plugin on Plugins Panel
    Notice
    To add Teslasuit support to the existing project, in UNIGINE SDK Browser, click Other Actions -> Configure Project -> Plugins -> Teslasuit support (TeslaSuit plugin) -> OK.
  3. Implement your application.
  4. Launch the TeslaSuit plugin on the application start-up.

Launching TeslaSuit Plugin#

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

Shell commands
main_x64 -extern_plugin "TeslaSuit"

If you run the application via UNIGINE SDK Browser, specify the command-line options given above in the Customize Run Options form.

Compiling TeslaSuit Plugin#

Plugin compilation is required if you change its source code (for example, add new API functions).

Teslasuit SDK is required for recompiling the TeslaSuit plugin:

  1. Download and install the Teslasuit SDK.
  2. Set the path to the <Teslasuit SDK> folder in the TESLA_SUIT_ROOT environment variable.
    Shell commands
    set TESLA_SUIT_ROOT=<Teslasuit SDK>
  3. Compile the plugin in one of the following ways:
    • By using the build script:
      Shell commands
      C:\UnigineSDK\source>build.py --plugin TeslaSuit
    • Via Microsoft Visual Studio: go to the <UnigineSDK>\source\plugins\Hardware\TeslaSuit, open the teslasuit_vs2015.vcxproj project and build it.
Last update: 2019-12-25
Build: ()