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
编程
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
应用程序接口
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
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

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: ()