garrysmod-issues icon indicating copy to clipboard operation
garrysmod-issues copied to clipboard

Entity:FollowBone doesn't update position for ragdoll when frozen/sleeping

Open Ramalayha opened this issue 5 years ago • 5 comments

If you use this on a ragdoll and PhysObj 0 of the ragdoll is frozen/sleeping the bone positions will stop updating even though other parts are moving.

Ramalayha avatar Jul 16 '20 21:07 Ramalayha

Like #4586 this can also be fixed simply by reading the note on FollowBone's page: https://wiki.facepunch.com/gmod/Entity:FollowBone

robotboy655 avatar Jul 20 '20 15:07 robotboy655

It happens server-side too.

Ramalayha avatar Jul 20 '20 15:07 Ramalayha

Like this

Ramalayha avatar Jul 20 '20 16:07 Ramalayha

As I said above, you can run Entity:SetPredictable( true ) on the prop (child entity) to fix this.

robotboy655 avatar Jul 20 '20 16:07 robotboy655

I've tried running that on both the main and dev branch and it does not fix this. Also not all entities exist clientside.

Ramalayha avatar Jul 20 '20 19:07 Ramalayha