Sixze / ALS-Refactored

Completely reworked and improved C++ version of Advanced Locomotion System V4.
MIT License
978 stars 273 forks source link

【Question】Ragdoll not correct work on Dedicated Server. #373

Closed watsonsong closed 1 year ago

watsonsong commented 1 year ago

I found the problem is here. GetMesh()->AddForce((RagdollTargetLocation - GetMesh()->GetSocketLocation(PullForceSocketName)) * RagdollingState.PullForce, PullForceSocketName, true); If I comment this AddForce out, the ragdoll seems correctly when 'Play as Client' in a dedicated server mode. I don't know what the purpose about this AddForce.