first (successful) try with OptiTrak Motive

This commit is contained in:
Hartmut Seichter 2025-06-30 11:19:09 +02:00
parent f5b9ee9eea
commit de9a4990e5
3 changed files with 21 additions and 1 deletions

View file

@ -5,10 +5,14 @@ signal data(data:Array)
signal disconnected
signal error
@onready var _stream: StreamPeerTCP = StreamPeerTCP.new()
@export var vrpn_server : String = "localhost"
@export var vrpn_port : int = 3883
func _ready() -> void:
self.connect_to_host("127.0.0.1",3883)
self.connect_to_host(vrpn_server,vrpn_port)
func _process(delta: float) -> void:
var old_status = _stream.get_status()