RNG: Difference between revisions

21 bytes added ,  20 October 2018
Line 38: Line 38:
* And many, many, many more.
* And many, many, many more.
===[[Tick Tock Clock]] Random Setting Only===
===[[Tick Tock Clock]] Random Setting Only===
The following objects call RNG under the given circumstances when the clock was entered at 6:00 (the random setting).
The following objects call RNG under the given circumstances when the clock was entered at 6:00 (the random setting). Click on the link for more details.
* [[Spinner#Random Setting|Spinners]] call RNG twice
* [[Spinner#Random Setting|Spinners]]
* [[Cogs]] call RNG twice when they reach their target [[angular velocity]] (TAV)<ref>https://www.youtube.com/watch?v=S0q3_toE3b4</ref>. The cog approaches its TAV with an angular acceleration of ±50AU/frame². The first call determines the cog's next TAV. Because of the way the formula is structured, there is a possibility that the TAV is 0. If this occurs multiple times, the cog can stand still. The TAV is calculated by the following formula:
* [[Cogs]] call RNG twice when they reach their target [[angular velocity]] (TAV)<ref>https://www.youtube.com/watch?v=S0q3_toE3b4</ref>. The cog approaches its TAV with an angular acceleration of ±50AU/frame². The first call determines the cog's next TAV. Because of the way the formula is structured, there is a possibility that the TAV is 0. If this occurs multiple times, the cog can stand still. The TAV is calculated by the following formula:
  <nowiki>Target Angular Velocity = (RNG % 7) * 200</nowiki>
  <nowiki>Target Angular Velocity = (RNG % 7) * 200</nowiki>