What means Quaternion.identity can you explain it please I don't know this method but maybe I need to use.

Can you help me meaning of the Quaternion.identity?But please use less programer words :)))

Well, quaternions are a mathematical concept / construct. So this is more a maths question than a programming question. The identity of a matrix or a quaternion is the matrix / quaternion that when applied to a point / vector does nothing to that vector. When using quaternions as an absolute rotation / orientation it essentially refers to the default orientation within the given coordinate space.

We can only guess what level of math understanding you have. Though when you’re woring with a 3d engine you should have at least a basic understanding of plain linear algebta since almost everything in a 3d environment is related or represented through vectors and transformations on those vectors. If you have a linear algebra noob I would recommend to watch the essence of linear algebra series of 3b1b.

Note while linear algebra can get quite complex already, quaternions are a few levels further up. While they are not as complicated as some people state, understanding how they work requires understanding the concept of imaginary numbers / complex numbers and a bit of 4 dimensional thinking. Of course you don’t necessarily need to fully understand how quaternions work behind the scenes. Though all the implications that comes with them is essential to even understand rotations in 3d space which on their own are quite complex already ^^.

Since your question is kinda short and as I said we don’t know your level of understanding I don’t think we could say much more about it. If you really want to know more about quaternions, I always recommend this numberphile video as a primer. Though the videos of 3b1b on quaternions are also great, though require a solid math background. Grant (from the 3b1b channel) also has made some lockdown videos on some common math topics which could also help if you’re not that good at math ^^. Math is an important part in computer science. So improving the foundation does never hurt.

1 Like