From 5eed33260aa7e35b8d8aaa11fc58b3157e6d060f Mon Sep 17 00:00:00 2001 From: Hartmut Seichter Date: Tue, 1 Jul 2025 12:04:57 +0200 Subject: [PATCH] some minor tinkering --- Notes.md | 5 ++++- VRPN_Receiver.gd | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Notes.md b/Notes.md index 8ebb0d3..6f2ce06 100644 --- a/Notes.md +++ b/Notes.md @@ -13,7 +13,10 @@ and immediatly made available. Minimal or no internal state keeping! - keep naming "classic" ??? ... above session is a tracker with a sender with sensors - +# Todo +- Testset for Quaternion rotations +- Axis as subscene + # Internal Notes - Graphics Interaction Lab OptiTrack system is at 212.201.64.122 diff --git a/VRPN_Receiver.gd b/VRPN_Receiver.gd index d3f1ed1..246c6b3 100644 --- a/VRPN_Receiver.gd +++ b/VRPN_Receiver.gd @@ -10,4 +10,5 @@ func _on_pos_quat(tracker_data : Dictionary): if tracker_data['tracker'] == tracker_name and tracker_data['sensor'] == tracker_sensor: self.global_position = tracker_data['position'] var rotation := tracker_data['rotation'] as Quaternion + self.global_basis = Basis(rotation)