Whats the formula to scp walking camera bobble

im trying to make walk bobble based on scp camera bobble
the problem is idk the formula and the tutorials only teaches how to make camera bobble in the shape of an infinite symbol

1 Like

All, if not most, of your answers are on the topic sent.

1 Like

that topic teaches how to make camera bobble in the shape of a infinite symbol
i tested the kit and watched the vid, and readed the code, it bobbles in the shape of a 8

i want the formula to scp bobble walk as seen in this part of this video:

What I believe the equation for the bobbing effect is the usage of trigonometric functions.

The concepts revolving this:
https://en.wikipedia.org/wiki/Lemniscate_of_Bernoulli
https://en.wikipedia.org/wiki/Lemniscate_of_Gerono
https://en.wikipedia.org/wiki/Hippopede
https://en.wikipedia.org/wiki/Watt's_curve

The x position is a function of cosine waves while the y position is a function of sine waves.

Source found:

1 Like

idk trigonometry thats why i want the formula of scp camera bobble when walking

i think the bobbling is in the shape of an V but idk the formula to make a V

edit: i just found out its not a V but i want the camera to bobble like in this video when he walks:

The bobbing is still using trigonometric functions. The bobbing uses subtle changes in the camera angle, which goes either left or right. The amplitude of the bobbing is controlled by the player’s movement.

Formulas are in the links above, which are written in general concept.

2 Likes

ok i found out the formula is actually an 8 but its slower and makes the 8 on the camera angle too soo it confused me thx for helping

The general formulas are found here, which corresponds to the shape:

1 Like

I think its way simpler than that!
They’re just using something like:

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

If you exactly double the phase of one axis when doing a sin/cos circle, it’ll do a figure 8 like you wanted.

2 Likes

thats exactly wut i wanted thx