• MONEY за подписку! Ничего делать не надо совсем, всего-то подписаться на тг одмена и нажать кнопку "Принять участие" в розыгрыше: https://t.me/govthing/7650

Вопрос Аним ресольвер не работает

ресольвер все равно не работает
детект сайда по леерам фейлит, а в логах мисс по ресольверу и сайд 0
!(delta_right * 1000.0) никогда не может быть тру
тк delta_right * 1000 > 0
 
Последнее редактирование:
the resolver still doesn't work
detection of the side on the mirrors of the feilit, and in the logs of miss on the resolver and side 0
! (delta_right * 1000.0) can never be tru
tk delta_right * 1000 > 0
That is such a stupid check. roundf all your playbackrates with 10000.0f and divide the result with 10000.0f to get normal rounded number. And then compare them.

EDIT: Do not roundf playbackrate roundf deltas

EXAMPLE:
Код:
Expand Collapse Copy
auto RightYawDelta = (std::roundf(fabsf(player_record->layers[ANIMATION_LAYER_MOVEMENT_MOVE].m_flPlaybackRate - player_record->m_ResolverLayers[POSITIVE_YAW][ANIMATION_LAYER_MOVEMENT_MOVE].m_flPlaybackRate) * 10000.0f) / 10000.0f);
 
Последнее редактирование:
That is such a stupid check. roundf all your playbackrates with 10000.0f and divide the result with 10000.0f to get normal rounded number. And then compare them.

EDIT: Do not roundf playbackrate roundf deltas

EXAMPLE:
Код:
Expand Collapse Copy
auto RightYawDelta = (std::roundf(fabsf(player_record->layers[ANIMATION_LAYER_MOVEMENT_MOVE].m_flPlaybackRate - player_record->m_ResolverLayers[POSITIVE_YAW][ANIMATION_LAYER_MOVEMENT_MOVE].m_flPlaybackRate) * 10000.0f) / 10000.0f);
I will try it
 
dont work
resolver returns side 0
 
ресольвер все равно не работает
детект сайда по леерам фейлит, а в логах мисс по ресольверу и сайд 0
!(delta_right * 1000.0) никогда не может быть тру
тк delta_right * 1000 > 0
1677885459188.png

вспомнил что ты с такой же проблемой столкнулся
 
Посмотреть вложение 240554
вспомнил что ты с такой же проблемой столкнулся
эту проблему я уже давно пофиксил
у меня сам ресольвер неправильный (он постоянно позитив сайд детектит либо вообще ничего не детектит)
 
Назад
Сверху Снизу