Author Topic: How much performance would particle detection take out?  (Read 1457 times)

If you don't understand what I mean I am talking about ALL (or just the rain) particles not being able to go through bricks, some of us may not want this but I do know that everyone does want the rain emitters/particles to not go through bricks. I do remember that Badspot said something like how this would take out/cost a lot of performance however I don't remember when he said that. I am hoping with the removal of terrains maybe there is room for it?

I love the default rain skybox Blockland comes with but having rain going through your builds ruins the whole effect of feeling safe indoors.

If this was implemented, I'm assuming that bricks with raycasting turned off would still allow particles to pass through them.

If blocking precipitation was implemented, checking each raindrop's position individually as it's moving would be a terrible way to do it. The next step up would be checking how far a raindrop has to fall as it's created, and set a lifetime for it or something. There's probably some clever way to generate some data structure for these lifetimes using the bricks, so you effectively get a function mapping any set of x-y coordinates to how long a raindrop spawned there has to fall, but I don't know of one off the top of my head.

If blocking precipitation was implemented, checking each raindrop's position individually as it's moving would be a terrible way to do it. The next step up would be checking how far a raindrop has to fall as it's created, and set a lifetime for it or something. There's probably some clever way to generate some data structure for these lifetimes using the bricks, so you effectively get a function mapping any set of x-y coordinates to how long a raindrop spawned there has to fall, but I don't know of one off the top of my head.
I didn't think it was that hard, it thought you could make it so like if a particle came in contact with something it would just get removed or put out the little splash effect. Now I get what you mean though.

Zonebricks are your new best friend.
Because they have the same properties that waterbricks do, they stop the rain particles from falling through. Many people use it. It won't protect against emitters if you mean all particles, but as far as rain and I think snow goes, it'll stop them.

Zonebricks are your new best friend.
Because they have the same properties that waterbricks do, they stop the rain particles from falling through. Many people use it. It won't protect against emitters if you mean all particles, but as far as rain and I think snow goes, it'll stop them.
Oh yeah I forgot about these, ill use em. Do I need to use events to make the rain not go through or do I just place them?

Zonebricks are your new best friend.
Because they have the same properties that waterbricks do, they stop the rain particles from falling through. Many people use it. It won't protect against emitters if you mean all particles, but as far as rain and I think snow goes, it'll stop them.
Why don't all bricks work like this then if zonebricks and waterbricks can?

Why don't all bricks work like this then if zonebricks and waterbricks can?
zones

how do they work

But even better is ModTer. They're default so you don't have to use events or download an add-on

why not treat the rain like client sided projectiles? projectiles don't pass through bricks unless raycasted.

But even better is ModTer. They're default so you don't have to use events or download an add-on
haha, zone bricks being worse than modterrain, you're such a joker

since slate is now default, maybe generate a grid of what the distance each drop can fall to on, then only modify it when the grid point is changed, like a brick is placed in it?

since slate is now default, maybe generate a grid of what the distance each drop can fall to on, then only modify it when the grid point is changed, like a brick is placed in it?
Pretty much, though the grid is infinite so it isn't as simple as a 2 dimensional array. What's even more confusing is that precipitation doesn't necessarily fall straight down, so it doesn't account for hitting the sides of bricks.

But even better is ModTer. They're default so you don't have to use events or download an add-on
you should have zonebricks anyway

What. No.

I like as little add-ons as possible. Zonebricks seem necessary, and whatever use I might have for them I could figure out with whatever I already have.

What. No.

I like as little add-ons as possible.
That's stupid.

And don't ever go like this:
Quote
I can't do that because I don't have [insert public addon here]!
Do you see how stupid that is?