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)