private void SetGroundedState(Transform entityTransform)
    {
        bool collidingWithGround = groundCollisionDetector.IsColliding(entityTransform, false);

        grounded.SetValue(collidingWithGround);

        // TODO: maybe only trigger events when the values are changed, not just when it's true...
        // if (collidingWithGround)
        // {
        //     groundedEvent.Raise();
        // }
    }
 private void SetCeilingHitState(Transform entityTransform)
 {
     ceilingHit.SetValue(ceilingCollisionDetector.IsColliding(entityTransform, false));
 }