How to make the snake's body follow better?

  • Creator version: 3.7.3
    I am making a snake game, as shown below. The current implementation method is to record the head node in each frame, and then the body follows the position set according to the subscript setting. However, there will be some problems, such as how to achieve the following collision and rebound? The problem of the tightness of following bodies of different sizes.

456456546

35345

Thanks to those who shared their experiences :heart: