move_colliding

Function move_colliding 

Source
pub fn move_colliding(
    ctx: &mut MoveCtx<'_, '_, '_, '_>,
    movement: Vec3,
) -> Result<(), MoveEntityError>
Expand description

Move an entity by a given delta, checking for collisions.

In Mojmap, this is Entity.move.