sd805 / l4d2vr

Left 4 Dead 2 VR mod
369 stars 35 forks source link

[Enhancement] Third person animations #91

Open 0x2480 opened 1 year ago

0x2480 commented 1 year ago

i know this isn't simple, but:

you could possibly make the survivor roughly match the VR client by spawning an invisible ragdoll on the server without collisions and then sending it as the players parent to all other clients besides the VR client, along with giving the player EF_BONEMERGE so their model aligns with the ragdoll while still allowing for lip sync and the hitboxes to match up

from there, you can make the client and server act as if the player isn't parented to the ragdoll and let them move around, and the rest would be aligning the ragdoll to the VR clients hands and head (besides the bottom half, which i suggest using the bottom half of the models normal animations for)