add axis model suspicous about the quaternion layout in Godot
This commit is contained in:
parent
1cc6380a57
commit
925bac2114
5 changed files with 89 additions and 15 deletions
|
@ -11,4 +11,7 @@ func _on_pos_quat(tracker_data : Dictionary):
|
|||
#self.global_position = tracker_data['position']
|
||||
var rotation := tracker_data['rotation'] as Quaternion
|
||||
|
||||
self.global_basis = Basis(rotation)
|
||||
var rot_basis = Basis(rotation)
|
||||
|
||||
self.global_basis = rot_basis
|
||||
#self.global_basis = Basis(rot_basis.z,-rot_basis.y,rot_basis.x)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue