I managed to achieve the spring mechanic this way:
I got ideas from:
- This post
- This other post: Bouncing platform without physics?
- The platformer example (where the player bounces when jumping on enemies)
I managed to achieve the spring mechanic this way:
I got ideas from: