mirror of
https://github.com/godotengine/godot
synced 2024-11-02 08:18:44 +00:00
Set real world position, not virtual world position!
This commit is contained in:
parent
95e7656a15
commit
f00b60860c
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);
|
||||
}
|
||||
if (p_tracks_position) {
|
||||
tracker->set_position(transform->origin);
|
||||
tracker->set_rw_position(transform->origin);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue