diff --git a/client/scenes/stream.cpp b/client/scenes/stream.cpp index 5de41a7f..860a34e4 100644 --- a/client/scenes/stream.cpp +++ b/client/scenes/stream.cpp @@ -979,7 +979,7 @@ void scenes::stream::update_local_floor(XrTime when) }; xrLocateSpace(stage, local, when, &location); - XrPosef offset{{0, 0, 0, 1}, {0, location.pose.position.y, 0}}; + XrPosef offset{{0, 0, 0, 1}, {location.pose.position.x, location.pose.position.y, 0}}; std::lock_guard lock(local_floor_mutex); local_floor = session.create_reference_space(XR_REFERENCE_SPACE_TYPE_LOCAL, offset); }