#❗IMPORTANT - Linear Easing doesn't work in Script

1 messages · Page 1 of 1 (latest)

uneven ocean
kindred talon
deep timber
#

your logic looks wrong, renderstepped runs every frame and your lerp should happen every frame, instead you do one every few frames? you're thinking of tweenservice.

#

renderstepped also gives you deltatime parameter maybe consider using it

uneven ocean
uneven ocean
#

Thanks, now it has easing. But the Speed can't be controlled even when adjusting the BOBBLE_SPEED Value

kindred talon
#

You’re doing it too many times per second and changing direction every time. That seems like its ineffective as there is a good chance that it will just be inversed.

deep timber
#

yea i'm expecting it to go a bit crazy coz new random target every frame

#

but eh, spiral towards perfection one step at a time Thumbs