From f00b60860c3a7ef21a280a2e0a3b85244fe468de Mon Sep 17 00:00:00 2001 From: Bastiaan Olij Date: Tue, 28 Nov 2017 23:28:35 +1100 Subject: [PATCH] Set real world position, not virtual world position! --- modules/gdnative/arvr/arvr_interface_gdnative.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gdnative/arvr/arvr_interface_gdnative.cpp b/modules/gdnative/arvr/arvr_interface_gdnative.cpp index 02f2ee7424a..9b0d1ebb318 100644 --- a/modules/gdnative/arvr/arvr_interface_gdnative.cpp +++ b/modules/gdnative/arvr/arvr_interface_gdnative.cpp @@ -344,7 +344,7 @@ void GDAPI godot_arvr_set_controller_transform(godot_int p_controller_id, godot_ tracker->set_orientation(transform->basis); } if (p_tracks_position) { - tracker->set_position(transform->origin); + tracker->set_rw_position(transform->origin); } } }