WIP
This commit is contained in:
parent
5eed33260a
commit
1cc6380a57
3 changed files with 78 additions and 43 deletions
|
@ -8,7 +8,7 @@ class_name VRPN_Receiver
|
|||
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']
|
||||
#self.global_position = tracker_data['position']
|
||||
var rotation := tracker_data['rotation'] as Quaternion
|
||||
|
||||
self.global_basis = Basis(rotation)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue