How to make a tree sway?

My trees are fine the way they are, but i was wondering if it could be improved with swaying. I have never worked with CFrame so i have no idea how to do this. Here is my tree.

Please don’t steal it for your own commercial use.

2 Likes

if your doing this i advise you do it on each individual client and not on the server or it will cause immense lag, especially if you have a lot of trees being animated at once. Also i recommend that you have some sort of system to animate trees that are only close the player, which will in turn greatly benefit performance. Now finally, how do want to sway the tree it could be done in many different ways, tweening, animations , etc.

if you want to learn about animating models you can use this tutorial here:

and if you want to learn about tweening them you can look here:

and btw this is not a request site you need to attempt things on your own. If you want to learn about cframes there are tons of posts on dev hub and dev forum:

https://developer.roblox.com/en-us/articles/Understanding-CFrame

https://developer.roblox.com/en-us/articles/CFrame-Math-Operations

also this tutorial on interactive grass may be useful for you:

8 Likes

I know this is not a request site, thanks for the help btw, I’ll see what I can do with the information.

1 Like