azalea_entity

Function update_bounding_box

Source
pub fn update_bounding_box(
    query: Query<'_, '_, (&Position, &mut Physics), Changed<Position>>,
)
Expand description

Sets the position of the entity. This doesn’t update the cache in azalea-world, and should only be used within azalea-world!

§Safety

Cached position in the world must be updated.