refactor work and documentation

This commit is contained in:
Hartmut Seichter 2025-07-08 09:45:49 +02:00
parent 46491f8e2f
commit 5b203c9531
4 changed files with 23 additions and 9 deletions

View file

@ -6,10 +6,10 @@ extends Node3D
@export var tracker_sensor : int = 0
@export var tracker_use_position : bool = true
@export var tracker_use_rotation : bool = true
@export var register_on_start : bool = true
@export var register_on_ready : bool = true
func _ready() -> void:
if vrpn_client and register_on_start:
if vrpn_client and register_on_ready:
vrpn_client.tracker.append(self)
func _on_vrpn(vrpn_data : Dictionary):