Ad
Log in to vote
0

SCP like camera bobble?

Asked by 8 days ago

Hi i am trying to recreate the scp camera bobble

i already have the formula

xoffset = math.sin(time * 1.0 * speed) * distance
yoffset = math.cos(time * 2.0 * speed) * distance

but i don't know where to put it in. i tried to put it instead

local bobble_X = math.cos(now * 9) / 5
local bobble_Y = math.abs(math.sin(now * 12)) / 5

(the full script can be found here: https://developer.roblox.com/en-us/api-reference/property/Humanoid/CameraOffset )

but it diden't work if anyone knows this please help

i need the full script cause i am not a skilled developer btw Thanks!

(sorry if there are grammer mistakes my english is bad)

Answer this question