I’m trying to calculate the motion of spring constraints with harmonic motion equations. I’ve been able to pretty accurately calculate how many oscillations and for how long the motion continues for a given mass, stiffness and damping. The only issue is that it seems that Roblox scales the damping value in some way.
This is a graph of the spring’s motion for the system I’m testing. k = Stiffness, m = mass, A = amplitude (in studs), B = damping. I can plug in these values directly from studio for all the parameters except for B. Damping has to be divided by about 10 before I can set it for B.
This works fine for my current testing situation but I don’t want any errors in my approximation to compound for other systems. I’m hoping a Roblox engineer or someone else who’s knowledgeable in this could tell me how Roblox is manipulating this value. Thanks!