Component:TestFakeViveTracker

From Resonite Wiki
Component image 
Test Fake Vive Tracker component as seen in the Scene Inspector

The TestFakeViveTracker component simulates a vive Tracker for User that has the position and rotation of the slot this component is on. This allows for making fake trackers that can be used to control the User's IK as a real Tracker would. It even """tricks""" the input system into fully seeing this as a Tracker, even generating a visual for the user. The tracker device's position/rotation is based on its position/rotation in global space compared to User's root slot global position/rotation.

This game element is a debug item. Elements like this may be removed at any time without warning, and creations should not rely on it.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
Id String Upon attaching is a random GUID. Can be changed which makes a new Tracker object. If identical to another older tracker the user has used before, will take on the old tracker's identity and settings.
IsTracking Bool Controls whether the tracker has lost tracking.
User direct UserRef The user this tracker shoul

Usage

Attach to a slot and preferably parent it under the User to create a new tracker for the targeted User. a user is needed for this component to work.

Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


See Also