periodic wall
Hi everyone, I am new to unity, please help me with this problem. I want to create a box with 6 walls, but all of them is periodic, which means if an object goes out from one wall, it will come back from the other side. My object has mesh colliders, so when it cross the wall, it probably will be split into two parts. How should I do this ? I am thinking about one solution: When one object reach the wall, make it disappear and create a new one on the corresponding wall. It this a good way to do it ?
Thank you !
Comment