Hey,
can somoene explain me the differences between stepped, heartbeat, renderstepped?
after the forum on DevHub I still didnt understand it. I just understood that it is connected with each fps of the game and runs with it equal.
do you guys know more than stepped, heartbeat, renderstepeed? I heard there is also a BindToRenderStep.
So you need to answer this questions for each stepped, hearbeat, renderstepeed:
What is it exactly?
Does more than the 3 points exist above?
Which one should I use mostly on Client or on Server.
When should I use it? - give some examples.
Thanks for any help!
funnyfunns
(funnyfunns)
February 19, 2021, 4:09am
#2
I think heartbeat is just like wait()
game:GetService("RunService").Heartbeat:Connect(function()
print("Hello.")
end)
funnyfunns
(funnyfunns)
February 19, 2021, 4:11am
#3
Sorry, I forgot what the topic was, lemme invistigate!
funnyfunns
(funnyfunns)
February 19, 2021, 4:12am
#4
I think the ‘Render Stepped’ is used to fire every frame. If you have like 1 fps you’ll be running your command every set frames. (I may not be correct)
HahLua
(HahLua)
February 19, 2021, 4:14am
#5
RenderStepped runs before anything renders,Stepped runs before the physics step,Heartbeat runs at the end of the frame.
1 Like
funnyfunns
(funnyfunns)
February 19, 2021, 4:15am
#6
OOh I didnt know I think i was wrong