G
G
Gregory2562021-09-05 12:23:42
C++ / C#
Gregory256, 2021-09-05 12:23:42

How to rotate an object around its axis randomly?

How to rotate an object like the game Khife Hit? I can not understand the principle that allows the object to rotate in different directions. There is an assumption that everything works through IEnumerator , but I can not catch up with how to organize a scenario in which the vector will change in a certain period of time.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question