OSVR / OSVR-Unity

Package for authoring OSVR experiences with Unity.
Apache License 2.0
99 stars 38 forks source link

Skeleton interface #230

Closed DuFF14 closed 7 years ago

DuFF14 commented 7 years ago

Adds a SkeletonInterface which is basically a PoseInterface with optional post-rotation for drawing correctly when controlling a rigged 3d model.

Adds a script, TrackedObjectConfidenceManager, which manages an array of tracked gameobjects based on confidence reports from a tracking plugin. One of the tracked objects is active at a time. This is used for cycling through various hand models.

Added SampleHandsController helper script, which adds UI to the TrackedObjectConfidenceManager so hand models can be cycled via keypress/gui button.

Adds the following prefabs:

Tested with the following branches of OSVR-Core and OSVR-Leap-Motion: https://github.com/OSVR/OSVR-Core/pull/258 https://github.com/OSVR/OSVR-Leap-Motion/tree/skeleton-interface

DuFF14 commented 7 years ago

Here is a unitypackage of the initial proposed changes osvr-unity-leap-pr230-v2.zip

DuFF14 commented 7 years ago

Here is a build of OSVR-Core and OSVR-Leap-Motion Skeleton branches (OSVR-Leap-Motion plugin is included in the osvr-plugins-0 directory). Default osvr_server_config.json is configured for orientation only HDK2 in direct mode: https://drive.google.com/file/d/0B0X-T5b2-zcOYkpsd0ZoNnhpb1k/view?usp=sharing

DuFF14 commented 7 years ago

osvr-unity-leap-pr230-v3.zip