mirror of
https://github.com/godotengine/godot
synced 2024-09-05 04:38:26 +00:00
Set real world position, not virtual world position!
This commit is contained in:
parent
95e7656a15
commit
f00b60860c
|
@ -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