Can anyone explain matrices and vectors in c# | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Can anyone explain matrices and vectors in c#

8th Sep 2018, 2:34 PM
Kofi Appiakorang Jnr
Kofi Appiakorang Jnr - avatar
2 Answers
+ 1
thanks a lot and yes that is what i meant
8th Sep 2018, 7:59 PM
Kofi Appiakorang Jnr
Kofi Appiakorang Jnr - avatar
0
I don't know much about c# but I know about unity: if you are referring to Vector3 or Vector2, I might help you. If you aren't I'm sorry but I can't help you Vector3 in Unity: Vector3 is a class with only one costructor that is Vector3(int x, int y, int z) that return a Vector with that x,y,z. Vector3 are 3 number in a class and are used for both position and eulerAngles (a way to show rotation, like if you change in the inspector, you are changing an euler angle). Vector3 also a magnitude, that is their lengths (used for force stuff)
8th Sep 2018, 6:04 PM
Daniele Bonomi
Daniele Bonomi - avatar