Can anyone explain to me why you would use those math functions, some games use them but I don't really understand why, thank you for answering my question if you do!
COMMUNITY QUESTION
What are some mathematical functions used for like math.sin, math.cos, math.acos, and etc?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
if you use : "Part.CFrame = CFrame.new(0, (amplitude * math.sin(tick() * frequency)), 0)" you can make animations for things such as breathing but it has to be in a renderstepped loop
renderstepped loops are : game:GetService("RunService").RenderStepped:Connect(function() -- code(drop a line) end)
I dont understand how does it work like that? Like isnt math. sin and math.cos used to find like the missing side of a triangle, but what does that have to do with anything in roblox?