I'm trying to make an oscillating movement in Hinge13, but I'm confused somewhere. Is it possible for you to help with advice? If necessary, I can send all the files by email.
Thank you in advance!
AnyFolder MachineOperation =
{
AnyVar T_period = 1.0; // Period of oscillation in seconds
AnyVar amplitude = 10.0; // Amplitude in degrees (±10°)
AnyVar phase_offset = 0.0; // Phase offset in radians
There is already a Fourier function implemented in AnyBody that you can use to easily create oscillating movements.
To use it, you just need to include the class template to your main file. The file is located in the Tools\ModelUtilities\Drivers, and you can include it like this: