Finishing Week 2: Finishing Physics Implementation (Patreon)
Content
The past few days I have been finishing up the logic behind the loli to smoothly stand back up. In the previous devblog you saw 1 animation for getting up, face_down_to_stand:
I made 2 other animations to cover the other scenarios where the ragdoll body might end up before standing up. First is face_side_down_to_stand:
This animation is mirrored in case she faces the other side. Lastly, face_up_to_stand:
With these 3 animations I was able to cover all the possible ways that the ragdoll can stand up. The animation is selected by looking at the direction of the spine bone. If the spine is facing up, chances are the ragdoll is facing upwards. If it's facing down, the ragdoll is facing downwards. And if it's neither up or down, then the ragdoll is probably on it's side in which case a secondary condition checks which side the ragdoll is laying on.
Here's how the face_up looks like in slow motion:
I think it came out very well and looks very smooth. As a bonus she will stretch her hands out to balance herself to prevent herself from rolling any further. Here's the side animation in action:
This wraps up the physics implementation for the loli. The next item in the schedule is loli employment! This will be the phase where I start to integrate autonomous "jobs" for lolis so they do their own thing. There is plenty to do for this part of the v0.8 schedule because some of the existing behaviors may need to be tweaked for physics or to support multiple lolis. Either way this is the meat and potatoes of v0.8 so I should have fun programming this part.
Stay tuned!