when changing child position (using transform.localPosition), OnTriggerEnter2D is not triggered on child object while moving and evidently colliding (even OnTriggerStay2D s triggered)
Only colliders are attached to objects, no RIgidbody2D. Triggers are working properly when not changing localPosition in Update().
if (riding == RidingState.MovingRight)
{
transform.localPosition = Vector2.Lerp(leftPos, rightPos, relU);
relU += Time.deltaTime * slideSpeed;
if (relU >= 1f)
{
relU = 1f;
transform.localPosition = new Vector3(rightPos.x, rightPos.y, 0);
riding = RidingState.StableRight;
}
}