How to compute vectors with walls restricting resultant directions.

24 Views Asked by At

I am working on a problem where I need vectors not at $180$ degrees to act as if they were. I figured I could accomplish this with walls. For example say two people play tug of war on the corner of a building, they would be at $90$ degrees but their vectors would cancel as if they were $180$ degrees apart. I was wondering how this could be extended to n people playing "tug of war" with $n$ walls restricting the resultants vectors so that a resultant vector could only be in the direction one of the initial vectors were pointing.