Comments and answers for "Convert type UnityEngine.Vector3' to float' Error"
http://answers.unity.com/questions/844969/convert-type-unityenginevector3-to-float-error.html
The latest comments and answers for the question "Convert type UnityEngine.Vector3' to float' Error"Comment by bubzy
http://answers.unity.com/comments/844976/view.html
you are asking unity to multiply by a Vector3, this is not possible in your circumstance, as you are expecting a single value to be returned, math on a Vector3 should be stored in a Vector3 like
`Vector3 testMath = Vector3.Up * 20;`
your line may need to read
`x *= magnitude * damper * originalCamPos.x;` and
`y *= magnitude * damper * originalCamPos.y;`Tue, 02 Dec 2014 02:28:57 GMTbubzyAnswer by mattyman174
http://answers.unity.com/answers/844975/view.html
x *= magnitude * damper * originalCamPos;
y *= magnitude * damper * originalCamPos;
originalCamPos is a Vector3 not a Float.
Did you mean to do the following?
x *= magnitude * damper * originalCamPos.x;
y *= magnitude * damper * originalCamPos.y;Tue, 02 Dec 2014 02:27:28 GMTmattyman174