[DiscordArchive] @Foe Have you also ever tried to not call this on every tick / have some fuzzy checking if the movem
[DiscordArchive] @Foe Have you also ever tried to not call this on every tick / have some fuzzy checking if the movem
Archived author: robinsch • Posted: 2023-10-08T12:52:59.997000+00:00
Original source
@Foe Have you also ever tried to not call this on every tick / have some fuzzy checking if the movement delta is large enough?
Archived author: robinsch • Posted: 2023-10-08T12:53:06.835000+00:00
Original source
That should also work
Archived author: Foe • Posted: 2023-10-08T12:54:04.379000+00:00
Original source
I thought about it whenever I added the culling, but with culling only and no noticeable performance issues I didn't care to spend any more time on it
Archived author: Rymercyble • Posted: 2023-10-08T12:54:17.255000+00:00
Original source
to be honest even if i wanted im not that good with addons so i would have to go and steal it from u <:kekw:1115251543751532674>
Archived author: Foe • Posted: 2023-10-08T12:54:21.919000+00:00
Original source
It was bad before culling though
Archived author: Foe • Posted: 2023-10-08T12:55:46.635000+00:00
Original source
It's relatively simple, you get the current center position of your child frame relative to your parent frame
Archived author: Foe • Posted: 2023-10-08T12:56:01.899000+00:00
Original source
Then you can use the parent width and height to know where the boundaries are
Archived author: Foe • Posted: 2023-10-08T12:56:18.907000+00:00
Original source
If any node is outside that boundary, you hide it
Archived author: Rymercyble • Posted: 2023-10-08T12:56:24.098000+00:00
Original source
in that context which u showed it makes sense since at any moment u got at most 50-100 on screen but as long as i want ability to zoom out at least in that case its not rly solvable
Archived author: Foe • Posted: 2023-10-08T12:56:31.747000+00:00
Original source
You might want to add some buffer to prevent popping though