Click and drag the head of Peter to move it around. His body will follow. You can throw him around and watch him collide with walls. When you hold down the space key he get's fixed at the center of the screen. Occasionally it may happen that he gets teleported back to the center of the screen (especially if you throw him too hard). That prevents the head etc. from getting stuck at walls because of an infinite loop.
Programming this Simulation was quite difficult and I had to watch many videos to understand the physics so please ❤️ and ⭐. This uses Ball physics (for the head) which I created by following a tutorial by @griffpatch (https://t.ly/MPpVH) combined with pendulum physics (for the limbs). You can look at the pendulum physics here: https://scratch.mit.edu/projects/868306111/ And the ball physics here: https://scratch.mit.edu/projects/866743379/