# Ragdoll challenge 1

**URL:** <https://forum.makecode.com/t/ragdoll-challenge-1/5489>\
**Category:** Collaboration\
**Created:** [January 12, 2021, 4:28am UTC](https://forum.makecode.com/t/ragdoll-challenge-1/5489 "2021-01-12T04:28:51Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![charliegregg](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/charliegregg/32/2411_2.png) [@charliegregg](https://forum.makecode.com/u/charliegregg)\
**Post date:** [February 3, 2021, 12:55am UTC](https://forum.makecode.com/t/ragdoll-challenge-1/5489/4 "2021-02-03T00:55:00Z")

</div>

i mentioned this in [Map Making Help](https://forum.makecode.com/t/map-making-help/5483) as you can easily create your own physics sim for the parts eg.  
force (0,-1,0)  
force for each other object relative to direction (0,0,-(mysize+othersize)/d) (rounded down if below 1 or similar)  
attractive force to connected bodies relative to direction (0,0,(d-(connectionlength))/strength)  
random force (±0.01,±0.01,±0.01) (stops things stacking up)

Then just draw some lines and do a projection if you want it in 3d.

---

_[View the full topic](https://forum.makecode.com/t/ragdoll-challenge-1/5489)._
