Quantcast
Channel: Answers for "No overload for method 'ClampMagnitude' takes '3' arguments"
Browsing latest articles
Browse All 4 View Live

Answer by fafase

The compiler is dumb and just reports what it sees wrong. Vector3 position = new Vector3 ( Vector2.ClampMagnitude( x, // one param oJoyPos.x - maxJoyDelta, // two param oJoyPos.x + maxJoyDelta) //...

View Article



Answer by HarshadK

Check the argument types and format for Vector2.ClampMagnitude which is: static Vector2 ClampMagnitude(Vector2 vector, float maxLength); where the arguments should be of type Vector2 and a float. You...

View Article
Browsing latest articles
Browse All 4 View Live


Latest Images