Function bevy_mod_raycast::update_debug_cursor
source · pub fn update_debug_cursor<T: 'static>(
commands: Commands<'_, '_>,
meshes: ResMut<'_, Assets<Mesh>>,
materials: ResMut<'_, Assets<StandardMaterial>>,
cursors: Query<'_, '_, (&Intersection<T>, &mut Transform), With<DebugCursor<T>>>,
intersection_without_cursor: Query<'_, '_, (Entity, &Intersection<T>), Without<DebugCursor<T>>>
)
Expand description
Updates the 3d cursor to be in the pointed world coordinates