Making a block move only up and down?

I have a spike object the has a animation so it spins without the “Movable” physic. How do the object so it moves up and down while it has the spinning animation?
Here is the game… https://flowlab.io/game/view/1435962
Thanks.

Thats easy as long they are set as NOT movable.
Use Y velocity, to move them up and down. You can also add real rotation if you wanted to.

With animation: (Timer: 10 w/repeat forever)
2020.06.08-22.46_01

With Rotation:
2020.06.08-22.46