Open tsuza opened 1 year ago
Maybe I should have given a better title to the PR. Yes, viewmodels currently work just fine. However:
Setting the weapon's model and setting the weapon's m_iViewModelIndex
on top of setting m_nCustomViewmodelModelIndex
removes the need to:
m_hViewModel
model.m_iViewModelIndex
).
Changing the player's class to the intended weapon's class and then reverting it back is not required to have correct animations. The missing piece was setting the weapon's
m_iViewModelIndex
.