Quantcast
Channel: Answers for "Rotating a direction Vector3 by Quaternion"
Browsing all 4 articles
Browse latest View live

Answer by tanoshimi

Don't you just want camera.transform.forward ?

View Article


Answer by joemane22

The solution to this is to use the Unity Matrix4x4 struct. You can easily rotate a vector point after creating the appropriate Matrix by calling Matrix4x4.TRS(Vector3 translation, Vector3...

View Article


Answer by tanoshimi

Don't you just want camera.transform.forward ?

View Article

Answer by joemane22

The solution to this is to use the Unity Matrix4x4 struct. You can easily rotate a vector point after creating the appropriate Matrix by calling Matrix4x4.TRS(Vector3 translation, Vector3...

View Article
Browsing all 4 articles
Browse latest View live


Latest Images