Answers for "Rotating Vector3, linecast"
http://answers.unity.com/questions/1306635/rotating-vector3-linecast.html
The latest answers for the question "Rotating Vector3, linecast"Answer by Hellium
http://answers.unity.com/answers/1306637/view.html
In Vector Arithmetic, a sum of two vectors results in a **point**, not a vector while the difference between two **points** results in a vector. Here, you need to rotate a directional vector, thus, simply do the following :
void FixedUpdate()
{
Vector3 rotatedVector = transform.rotation * new Vector3(1, 0, 0);
Debug.DrawLine( transform.position, transform.position + rotatedVector );
}Tue, 31 Jan 2017 14:35:55 GMTHellium