Wind Shake: High performance wind effect for leaves and foliage

6154aae1c3ab296bafe7d45b40ba3adb

If I lower these, will it help at all with any sort of lag?

Yes, although it will make the leaf motion seem choppier.

2 Likes

I used the model plugin of this, and it is working well and smoothly in the studio. However, in the game itself, the parts tagged into the WindShake are moving very poorly, they move in a choppy way. I made sure it wasn’t in my connection or my device. I also changed the Hz lower and above, but it still works very poorly. Here is the game to check out the performance yourself: MODEL TESTING - Roblox

UPDATE: IT works much better now! I applied the code into a LocalScript, and it works as expected now. Much more smooth and not choppy. Would totally recommend!

1 Like

you could disable the wind streak feature if you can detect if youre indoors

1 Like

Is there a way to “restart” the wind lines instead of calling the module function for it to just stack up the wind lines

This is a great model, however when I use this on my ghibli trees, they just get out of position, and I can’t turn my leaves cancollide off since it wont work.

1 Like

You shouldn’t be shaking collidable objects anyway since the physics of moving so many objects like that can lag

1 Like

That’s why I’m trying to turn cancollide to false but they just fall of the map.

You need to anchor them, of course.

4 Likes

Thanks, I didnt know you did have to anchor them xD

I’m wondering if the wind lines are still compatible? I tried tweaking around and adding the wind lines module into the WindShakeController but it didn’t seem to work. Are windlines deprecated now or am I doing something wrong?

It works for me. Check the example place to see if you’re doing it right

Is there any way that I could increase the distance the wind shake appear in? My game uses tons of tall palm trees, which causes the player to not be able to see much of the wind effects.

3 Likes

Interesting but i cant figure out how to use this, any videos on it?

1 Like

This is one of the best modules I have every seen. I love the style, I’ll for sure use this in my game!

Can you weld the leaves to the trunk if the trunk is moving? I tried but it don’t seem to work

Bought the plugin! For someone who doesn’t programme but still wants things like this in their games, this is a life safer! Great and easy to use plugin!

1 Like

Where exactly does the local script go? I put it into replicated storage, however, it is not functioning in the published version of my game. Any input would be appreciated.

Thanks!

The local script would go into any place that can run it such as ReplicatedFirst, StarterPlayerScripts, Playergui, Etc

nice module, dont mind if i yoink. really clean, and as you said, nice FPS.