ScratchData LogoScratchData
Back to Ameise15's profile

Ragdoll Physics

AMAmeise15•Created June 23, 2023
Ragdoll Physics
9
8
70 views
View on Scratch

Instructions

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.

Description

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/

Project Details

Project ID868735525
CreatedJune 23, 2023
Last ModifiedMay 1, 2024
SharedJune 24, 2023
Visibilityvisible
CommentsAllowed