Ragdoll and green line upon knockback, anyone know how they did this?


I saw this video today, and its done so well, i want to start making this but im not really sure how they did the ragdoll and knockback with this green line, anyone have an idea on how they made this?

I am pretty sure they calculate the velocity, body position, or gyrovelocity to where it will bring the player. But I think they really find how fast it goes and raycasts it, and case the raycast with the green line and stretch it out. I cant really test or try rn since im on mobile but thats what i can guess.

Maybe its actually calculating from the previous position to its velocity?

But thats all I really know but I am planning to atleast test out some things to clatify this answer of mine.

Hope it atleast gave an idea, cheers!
-Marcosygian

Dam that is some serious scripting, i just made my first ever ragdoll script this morning and it was kinda working it ragdolls and fall to the ground then it break joints