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
All, if not most, of your answers are on the topic sent.
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:
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.
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:
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.
thats exactly wut i wanted thx