636
Sorry, can't do scarves.
(sopuli.xyz)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Exactly, the first request is so vague that you can just implement it in a way that doesn't require any complicated programming magic, but a scarf has the implicit expectation to swing around and not intersect with the player or itself. Or worse, expect the player to summon a demon wearing a scarf!
(Still a good joke though)
Or you could go the JRPG way and make the scarf clip through everything including on cut scenes where the devs had 100% of control over the position of everything.
Scarf on the demon is probably fine :) They can bake it into the new movement frames. Player has all kinds of focus and real time physics :)