some minor tinkering

This commit is contained in:
Hartmut Seichter 2025-07-01 12:04:57 +02:00
parent 77c1e25158
commit 5eed33260a
2 changed files with 5 additions and 1 deletions

View file

@ -13,6 +13,9 @@ 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

View file

@ -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)