A tracked object.
An instance of this object represents a device that is tracked, such as a controller or anchor point. HMDs aren't represented here as they are handled internally.
As controllers are turned on and the AR/VR interface detects them, instances of this object are automatically added to this list of active tracking objects accessible through the ARVRServer.
The ARVRController and ARVRAnchor both consume objects of this type and should be used in your project. The positional trackers are just under-the-hood objects that make this all work. These are mostly exposed so that GDNative-based interfaces can interact with them.
|TrackerHand||get_hand ( ) const|
|int||get_joy_id ( ) const|
|Mesh||get_mesh ( ) const|
|String||get_name ( ) const|
|Basis||get_orientation ( ) const|
|Vector3||get_position ( ) const|
|int||get_tracker_id ( ) const|
|bool||get_tracks_orientation ( ) const|
|bool||get_tracks_position ( ) const|
|Transform||get_transform ( bool adjust_by_reference_frame ) const|
|TrackerType||get_type ( ) const|
The degree to which the tracker rumbles. Ranges from
1.0 with precision
Returns the hand holding this tracker, if known. See TrackerHand constants.
If this is a controller that is being tracked, the controller will also be represented by a joystick entry with this ID.
Returns the mesh related to a controller or anchor point if one is available.
Returns the controller or anchor point's name if available.
Returns the controller's orientation matrix.
Returns the world-space controller position.
true if this device tracks orientation.
true if this device tracks position.
Returns the transform combining this device's orientation and position.
Returns the tracker's type.
© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.