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
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue