Applying a Specific Equation of Motion to a Body within a Loop
hello,
I have a body (mesh) in my system, that I would like to let it have a specific (linear) movement but according to an equation that represents the acceleration and deceleration of it.
The equation is represented by 3 parts, each standing for a time phase, and they are in terms of a variable z.
I want to write a loop, that considers the increase of z by a certain increment that I define and includes three parts representing each equation within a certain time phase.
May you please suggest a way to define such a loop.
Thank you for your support.