1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Merge pull request #13365 from BastiaanOlij/fix_arvr_set_transform

Set real world position, not virtual world position!
This commit is contained in:
Gilles Roudiere
2017-11-28 13:56:06 +01:00
committed by GitHub

View File

@@ -344,7 +344,7 @@ void GDAPI godot_arvr_set_controller_transform(godot_int p_controller_id, godot_
tracker->set_orientation(transform->basis); tracker->set_orientation(transform->basis);
} }
if (p_tracks_position) { if (p_tracks_position) {
tracker->set_position(transform->origin); tracker->set_rw_position(transform->origin);
} }
} }
} }