What would be the recommended way to rotate the player model nowadays? When i use Entity:ManipulateBoneAngles(0, myangle) the player model is not rotated properly depending on what weapon the player is holding.
Am is missing something? Did i forget to call Entity:SetupBones() or Entity:InvalidateBoneCache() aftwards? I haven't tried those yet - when do i call those? Do i need them at all?
So many questions...
Are you talking about the player's viewmodel or worldmodel?
If you mean the viewmodel, take a look at the CalcViewModelView hook.
The angle of the pelvis will vary depending on the animation, so yes, that's gonna change. You have http://wiki.garrysmod.com/page/Player/SetEyeAngles and Entity/SetEyeTarget to change the player model's overall angle if i'm interpreting you correctly, the latter affecting where they visually look at.
Sorry, you need to Log In to post a reply to this thread.