Oleksii Kozhushko
Winning proposal- Projects 71
- Rating -
- Rating 548
Budget: 300 UAH Deadline: 1 day
Mathematically, the task is clear, the solution is, in general.
I can also write a function on C# for him.
Proposals are currently absent
-
Artem Shuryhin 26 January 2022Интересно, что выдаст ваша программа в случае:
V1 = 0, -1, 0
V2 = 1, 0, 0
V3 = 0, 0, 1
Результат V4 = ??? -
Ivan Zeleny
27 January 2022
По идее 1, 0, 0 (т.е. таким же как изначально), потому что ноги в этой ситуации будут на плоскости экрана вектор взгляда будет все еще направлен в ту же точку, в которой был изначально. Но это я у себя в голове "посчитал", может и ошибся)
-
Artem Shuryhin 27 January 2022Я тоже думаю что 1, 0, 0. Но судя по скрину с формулой. Программа сначала найдет угол между V1 и V3, который составит 90 градусов. А потом с помощью угла 90 градусов найдет координаты V4 0,1,0
Current freelance projects in the category C#
It is necessary to add animation to the low-poly main character and give him the ability to hold a weapon (tool) that will aim at the cursor. The game is from a third-person perspective, with the camera behind the player and the cursor in the center of the screen. The character needs to be able to enter aim mode, the camera slightly zooms in, and the character should be able to use the tool (a laser tool for resource gathering). I have a ready animation controller from Synty - Third Person Controller. It can be used or the animation can be completely set up from scratch if that is easier. In the end, I expect a character that can select a tool (one large two-handed and two small ones), switch tools, aim, and have the head and the tool look at the point where the cursor is pointing.