Bar Collisions Tetraspas

I am simulating a collision of tetraspas, I have the problem with the rotation and the collision, the simulation fails at a certain point. Could someone help me how to find the point of intersection of bars?

I try to simulate a system like the one in the picture


Bar (34.5 KB)