Quantcast
Channel: Answers for "Rotating a direction Vector3 by Quaternion"
Browsing latest articles
Browse All 4 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
Browsing latest articles
Browse All 4 View Live




Latest Images