fix(play_space): default to 1.65m down

This commit is contained in:
Nova
2025-08-04 14:10:08 -07:00
parent 07ea966c01
commit 6c498c60f2

View File

@@ -83,9 +83,13 @@ fn update(
tokio::task::spawn({ tokio::task::spawn({
let handle = play_space.tracked_handle.clone(); let handle = play_space.tracked_handle.clone();
async move { async move {
handle.set_tracked(false); handle.set_tracked(false).await;
} }
}); });
play_space
.spatial
.set_local_transform(Mat4::from_translation(vec3(0.0, -1.65, 0.0)));
return; return;
}; };
// this won't be correct with pipelined rendering // this won't be correct with pipelined rendering
@@ -102,7 +106,7 @@ fn update(
tokio::task::spawn({ tokio::task::spawn({
let handle = play_space.tracked_handle.clone(); let handle = play_space.tracked_handle.clone();
async move { async move {
handle.set_tracked(is_tracked); handle.set_tracked(is_tracked).await;
} }
}); });
if is_tracked { if is_tracked {