How to Recreate Madeline's Hair Movement from Celeste using Unity

Uploaded by Trever Mock
Share: Twitter Facebook
In this video, I show how to recreate Madeline's hair movement from the game Celeste using Unity.

This is a versatile algorithm that can be applied to hair, a scarf, a cape, or another accessory your character might have. Let me know in the comments how you plan to apply this!

Thank you and I hope the video was helpful! ?

► TIMESTAMPS
0:00 Intro
0:44 The Algorithm
2:21 Pre-setup Overview
4:11 Creating the Hair
6:10 HairAnchor Script
10:36 Move Over Time
12:56 Character Controller Overview
14:04 Change Offset based on Animation
17:37 Update the Animator
19:17 Outro

► GITHUB PROJECT
The 'master' branch is the project before implementation and the 'end-of-video' branch is the final result by the end of this video.
https://github.com/trevermock/celeste-hair-example

► REFERENCES
Thank you to one of the creators of Celeste of sharing the details for how this works. Here's the Reddit post I reference in the video.
https://www.reddit.com/r/gamedev/comments/9a0cfr/how_is_the_hair_in_celeste_made/

► MUSIC
The backing music is custom made by @themaykit.
https://www.instagram.com/themaykit/

► DISCORD
Come ask questions, suggest a video topic, or just hang out!
?Discord ➔ https://discord.gg/99gcnaHFf9

► THE PATH OF REN
Wishlist 'The Path of Ren' on Steam!
? Steam (The Path of Ren) ➔ https://store.steampowered.com/app/1619920

► SOCIAL MEDIA LINKS
Follow my current project!
? Twitter ➔ https://twitter.com/trevermock
? Instagram ➔ https://instagram.com/trevermock/
? TikTok ➔ https://tiktok.com/@trevermock
? Website ➔ https://shapedbyrainstudios.com/

► SUPPORT
Any support is much appreciated! I'll receive a commission on any assets purchased using the below Unity Asset Store link.
?️ Unity Asset Store Affiliate Link ➔ https://assetstore.unity.com/?aid=1100lrxm5
☕ Buy me a coffee! (Ko-fi) ➔ https://ko-fi.com/trevermock

#gamedev #unity2d #celeste