first (successful) try with OptiTrak Motive
This commit is contained in:
parent
f5b9ee9eea
commit
de9a4990e5
3 changed files with 21 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue