-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
Description
Describe the bug
When beams check for collision with entities, the checked volume scales in all 3 dimensions with step size, causing inconsistent and undesirable behavior when attempting to use beams on item entities.
A workaround to this is to set the step size to the maximum of 1, which allows the beam to check for entities in a full block.
To Reproduce [Optional]
Steps to reproduce the behavior:
- Throw item entities into a horizontal Force beam with the default step size (in the middle of the beam, not the endpoint).
- Observe that item entities either land on the ground or get hit by one tick of the beam before resting.
- Change the step size to 1.0
- Observe that item entities are now reliably affected by the Force beam.
Expected behavior [Optional]
Beam collision radius should not be dependent on step size.
Additional context [Optional]
Crossroads 2.10.2