Skip to content

Swept AABB false collision on zero-velocity axes with partial blocksΒ #487

@aksiome

Description

@aksiome

πŸ”’ Version

v3.1.1

πŸ” Related Feature

#bs.move:apply_vel, #bs.move:apply_local_vel

βœ… Expected Behavior

When an entity is resting exactly on top of a partial-height block (e.g. slab at Y = 0.5), and has zero vertical velocity, the swept AABB test should not detect a collision, and allow free motion along X and Z axis.
In other words, an entity sliding across the top surface of a slab should not be blocked.

❌ Actual Behavior

In cases where the entity sits exactly at the boundary of the slab (Y = 0.5), and vertical velocity is zero, the swept AABB test reports a collision and the entity yeets off to fucking wherever.

πŸ” Steps to Reproduce

No response

πŸ’‘ Possible Fix

No response

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions