Relative bearing is not used in the collision avoidance calculation.
It is a key learning point for TCAS: if bearing data is not available for any reason (e.g. some installations can have a non directional lower antenna) any RA generated is still valid.
Bearing data is only used for for traffic display plotting.