Wrap2D and Wrap3D nodes #494
Shadowblitz16
started this conversation in
Ideas
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
@Bioblaze
I was wondering if a Wrap2D and Wrap3D node could be added.
Basically they would wrap a target node around the bounds of the camera or a custom rectangle.
The problem with doing this in gdscript is it needs to simulate the entire node at 8 different locations.
that's x and y, the 3d version needs to account for z too
This is to ensure things like sprite wrapping.
It also ensures if you have a ship spawning a bullet it spawns bullets at the clones too.
It needs to also handle physics.
This is because if a physics body wraps around the border then it should check against the copies and and sync up the physics accordingly
My best attempt at doing a wrap2d node but it currently runs into a bug
Beta Was this translation helpful? Give feedback.
All reactions