Skip to main content

is_colliding_with_new_shapes

Function is_colliding_with_new_shapes 

Source
pub fn is_colliding_with_new_shapes(
    world: &impl CollisionWorld,
    old_aabb: WorldAabb,
    new_aabb: WorldAabb,
    descending: bool,
) -> bool
Expand description

Returns whether new_aabb collides with shapes that old_aabb did not.

Matches vanilla ServerGamePacketListenerImpl.isEntityCollidingWithAnythingNew().