I have this code:
And I'm getting this error:
"NullReferenceException: Object reference not set to an instance of an object Commander.FixedUpdate ()"
the error comes up when I press crouch and points to the 2nd if statement line.
can anyone help me resolve this error?
asked Mar 19 '11 at 10:37 PM
Jordan Miller 2
Drag your terrain into the
BUT, you probably want this instead (and can lose the terrain var):
answered Mar 20 '11 at 03:56 AM