Transform Wrap Across Screen
Wraps a Transform across the edges of the camera viewport.
For example, an object leaving the left side of the screen can reappear on the right.
Parameters
| Parameter | Description |
|---|---|
| Transform | The Transform to wrap. |
| Camera | The camera viewport used for the wrap test. |
| Wrap Left | Wrap when the Transform leaves the left edge. |
| Wrap Right | Wrap when the Transform leaves the right edge. |
| Wrap Top | Wrap when the Transform leaves the top edge. |
| Wrap Bottom | Wrap when the Transform leaves the bottom edge. |
Notes
- This is useful for screen-wrapping games such as Asteroids-style movement.
- You can enable only the edges you want to wrap.