Talk:Gravity

1.5 tiles per second acceleration is way too low! It would require 25 seconds to reach the top speed of 37.5 tiles per second! I tested the player's velocity falling straight down for 1 second and got a speed of 41.1 miles per hour (plus or minus about 1% or 2% error). The conversion factor between miles per hour and pixels/tick is 42240/216000 (taken from the stopwatch wiki page), so that gives us 8.037 or about 8 pixels per tick, which is 0.5 tiles per tick. Since there are 60 ticks per second, this would mean the player experiences 30 tiles per second squared of acceleration.

This is 20 times faster than the acceleration listed. And more importantly, it accurately describes the time it takes to reach the player's maximum falling speed: 1.25 seconds to reach 37.5 tiles per second.

If you want to repeat my testing, set a metronome to 120 beats per minute so that you have a rhythm to synchronize with. Stand on top of a platform with a stopwatch in your inventory and hit the down key to fall through when you hear the first beat, wait a beat, then press Print Screen on the second beat to take a screenshot. Paste the image data into a paint app and write down your speed recorded by the stopwatch. Repeat many times and average the speed samples together to improve the accuracy. Multiply the average by 42240/216000 to convert miles per hour into pixels per tick, then multiply by 60/16 to convert to tiles per second. 99.115.21.215 07:59, 13 February 2021 (UTC)

I found the gravitational acceleration in terraria to be 24.384 m/s^2, using the $$x=.5a(t^2)+(v0)(t)$$ equation. I timed a player's fall from rest from a 20 block(12.192m) height and found it to be 1 second (by coincidence), and after plugging everything in $$12.192m=.5a(1s)^2+(0m/s)(1s)$$ and solving for a, I got 24.384m/s^2.

Mhkort21 (talk) 14:42, 29 March 2021 (UTC)