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
.
pub fn move_colliding(
ctx: &mut MoveCtx<'_, '_, '_, '_>,
movement: Vec3,
) -> Result<(), MoveEntityError>
Move an entity by a given delta, checking for collisions.
In Mojmap, this is Entity.move
.