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
commit 04145aade4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}
}
}