P
P
PsyDuckbest2021-08-05 12:14:04
C++ / C#
PsyDuckbest, 2021-08-05 12:14:04

How to make an instant rotation of a 3d object?

I want to make the character turn without animation, but instantly, since the game is like in 2d, just on a 3d engine, to make it easier, but even now I can’t figure out how to turn it instantly, like a sprite.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
NoNameDeveloper, 2021-08-05
@PsyDuckbest

transform.rotation = Quaternion.Euler(x,y,z);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question