I have a vector pointing the direction my object should be pointing. How can I set the rotation for this object so that it points in the same direction as the vector?
Here is an example:
The cube must be point in the same direction
I imagine it to be a trivial question, but I’m messing around here with those rotations