The Skyscraper Simulator Forum

General Category => Bugs and Troubleshooting => Software => Topic started by: upanddownadventures on January 29, 2023, 02:51:51 pm

Title: AccelJerk/DecelJerk commands
Post by: upanddownadventures on January 29, 2023, 02:51:51 pm
What do the AccelJerk/DecelJerk commands do (in the Elevator section), if they even work?

They can be seen in the code of the Simple Building.

I don't know if this is a mistake, or if there is a reason (they are depreciated or removed commands), but there is NO mention of them in the design guide.
Title: Re: AccelJerk/DecelJerk commands
Post by: eventhorizon on January 29, 2023, 04:34:35 pm
I'll add those to the script guide, I don't know why they're not in there (the script interpreter has them though).  They're in the INI file though.

For an explanation on what they mean, this is from Google:
"The amount of time an axis takes to change its velocity from one velocity to another is a function of both Acceleration and Jerk. In physics, jerk is the rate of change of acceleration; more precisely, the derivative of acceleration with respect to time, the more quickly an axis will attain its programmed velocity."

In Skyscraper, the jerk rates smooth out the acceleration and made it more realistic.