I posted a problem that might not be able to be solved earlier, so I took another alternative I thought would work. Here?s the problem:
I decided to go for the wrap effect in order to simulate an enless space... problem is... enemy objects in my game all have physics behaviour. After the player wraps, enemies stop following it.
Is there a way to simulate it so the enemies follow the player through the wrap?
Maybe have a state "FollowingPlayer" that keeps them going in the same direction when they don't see the player anymore and the player just warped. Then when they get through the warp and see the player again set the state back to "Normal".
Otherwise I'd recomend creating an invisible object where the player warps from, that attracts the enemies to it. Then you can just destroy it after it has been on the map for a certain amount of time.