View Single Post
Shadowysn
Senior Member
Join Date: Sep 2015
Location: Location:
Old 12-04-2019 , 00:10   Re: [L4D2] Fixing body_yaw when incapped? / Set pose parameters?
Reply With Quote #6

Quote:
Originally Posted by cravenge View Post
Tbh, I don't really remember if it's optional or not since I haven't been coding for so long and just came back recently.

Either move to a 0.1 second repeating timer or hooking the other think functions to get that preciseness with minimal erroneous results.
Getting the angles just gets the player's angles, not the player model's.

Upon incapacitation, the survivor's visible model is set to stay in one angle while the actual angles of the player are still free to be changed by the player.
I couldn't find a netprop or anything that dictates that angle so I had to make do.

But I could potentially see it working if I added the right checks for crawling, landing on the ground, etc.

Last edited by Shadowysn; 12-04-2019 at 00:17.
Shadowysn is offline