mirror of
https://github.com/godotengine/godot
synced 2024-09-05 05:48:29 +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:
commit
04145aade4
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue