From b583970a88d174498a9865cc440ec56aeb144473 Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 1 Apr 2024 19:17:08 +0200 Subject: [PATCH] add note about parent objects not being supported --- src/world.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/world.rs b/src/world.rs index a24cf75..ac9ce9b 100644 --- a/src/world.rs +++ b/src/world.rs @@ -265,6 +265,8 @@ fn handle_cheats( // A variant of bevy_xpbd_3d::plugins::position_to_transform that adjusts // the rendering position to center entities at the player camera. // This avoids rendering glitches when very far away from the origin. +// +// NOTE: This currently does not support parent objects. pub fn position_to_transform( q_player: Query<&Position, With>, mut q_trans: Query<(&mut Transform, &Position, &Rotation)>,