Looking for advice on making my grass system smoother

I want to make the transition from one point to another much smoother. I’m trying to get it to best mimic real grass flow or at least have it close to Genshin Impact’s grass flow.

I’m using tweening to transition the grass blade from one point to the next using the Circular EasingStyle.

game:GetService("RunService").RenderStepped:Connect(function(Step)
	local PWCAttP1 = Character.PlayerWindChip:GetAttribute("Point1")
	P1distance = (script.Parent.Position.X - PWCAttP1.X)
	script.Parent:SetAttribute("Point1Distance", P1distance)
	local RotInfo = TweenInfo.new((math.random(5,12)/10),Enum.EasingStyle.Circular,Enum.EasingDirection.InOut)
	local GWX = game.Workspace.ServerStats.Weather.GeneralWindX
	local GWZ = game.Workspace.ServerStats.Weather.GeneralWindZ
	
	MoveRot1 = TweenService:Create(script.Parent,RotInfo,{CFrame = initalStemCFrame * CFrame.Angles(math.rad(GWX.Value + math.random(-8,8)),0,math.rad(GWZ.Value + math.random(-8,8)))})
	MoveRot2 = TweenService:Create(script.Parent,RotInfo,{CFrame = initalStemCFrame * CFrame.Angles(math.rad(GWX.Value + math.random(-8,8)),0,math.rad(GWZ.Value + math.random(-8,8)))})
	
	if MoveRotDebounce == false then
		MoveRot1:Play()
		MoveRotDebounce = true
	end
	MoveRot1.Completed:Connect(function()MoveRot2:Play() end)
	MoveRot2.Completed:Connect(function()MoveRot1:Play() end)
end)

The transition style I have:
GrassRotationView - Album on Imgur

The transition style I’m trying to achieve:
GenshinGrassView - Album on Imgur

I’ve tried all the other easing styles but they don’t have what I’m looking for. Before completely abandoning the tween EasingStyle I wanted to look for feedback and advice before trying anything new. Not looking for anyone to write the code for me, just looking for ideas and methods to try and pursue.

*Can’t fix gifs, links work at on other websites but not here?

2 Likes

Have you tried using something like BoatTween?
It has way more easing styles and might have the one you’re looking for.

1 Like

I’ll look into this right away! Thanks for the info!

I got it working and the “Smoother” Easing Style is really nice. While it still isn’t the perfect image of what I want, it looks way better now! Thanks again for the info!

Definitely going to use BoatTween in the future.

you might wanna check out WorldRoot | Roblox Creator Documentation if you’re doing tweeting on multiple parts.