• Я зарабатываю 100 000 RUB / месяц на этом сайте!

    А знаешь как? Я всего-лишь публикую (создаю темы), а админ мне платит. Трачу деньги на мороженое, робуксы и сервера в Minecraft. А ещё на паль из Китая. 

    Хочешь так же? Пиши и узнавай условия: https://t.me/alex_redact
    Реклама: https://t.me/yougame_official

Гайд Proper understanding of "auto align" movement function

Начинающий
Начинающий
Статус
Оффлайн
Регистрация
17 Май 2021
Сообщения
10
Реакции
1
The autoalign is called every time the player's character moves, and it checks if the player is pressing any of the movement keys (W, A, S, or D). If any of these keys are being pressed, the function calculates the direction in which the player's character should move, based on the player's view angle, and then traces a ray in that direction. If the ray collides with a solid surface, the function calculates the angle at which the player's character should align with the surface and applies that angle to the player's view :husled:
1673327629694.png
 
thats crazy, it is literally in the features name "auto align"
 
Назад
Сверху Снизу