I just started learning Pymunk so I'm quite confused, any help would be appreciated! I want to create a kinematic platform whose position is a sine wave,
x_plate(t) = A*np.sin(w*t)
subsequently with a velocity of
v_plate(t) = A*w*np.cos(w*t)
I'm quite confused so any help would be appreciated. Thanks!
Edit: I found a property called velocity_func that lets you set the body's velocity, problem is the parameters to set are
body.velocity_func = func(body, gravity, damping, dt)
and I'm not quite sure how to proceed.