summaryrefslogtreecommitdiff
path: root/modules/gdnative/arvr
diff options
context:
space:
mode:
authorBastiaan Olij <mux213@gmail.com>2017-11-28 23:28:35 +1100
committerBastiaan Olij <mux213@gmail.com>2017-11-28 23:28:35 +1100
commitf00b60860c3a7ef21a280a2e0a3b85244fe468de (patch)
treea9fc75dcdb283b486e5bbfa93c4dd6c834284be1 /modules/gdnative/arvr
parent95e7656a152f6158b50ff15f232097ff2175d170 (diff)
Set real world position, not virtual world position!
Diffstat (limited to 'modules/gdnative/arvr')
-rw-r--r--modules/gdnative/arvr/arvr_interface_gdnative.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdnative/arvr/arvr_interface_gdnative.cpp b/modules/gdnative/arvr/arvr_interface_gdnative.cpp
index 02f2ee7424..9b0d1ebb31 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);
}
}
}