Don't understand

Hi i was doing the movement part with float Value = Input.GetAxis ("")
i then watched further into the video where i was told it’s good practice to just type it instead of copy and paste so i deleted it all to get it in my head how to type it. But when i did the (float) didn’t turn dark blue on y and z axis but the x axis it did. and i can’t figure out why and it’s creating alot of problems so i just Ctrl Z it back to when i copied instead and that works. but can you explain why it didn’t work when i manually typed it?

There would have been an error in your code, something super subtle like an incorrect upper or lowercase letter - which is really easy to do, especially when you’re starting out. Try it again and post the line up here exactly as it is in your code if it doesn’t work.

Must have been an incorrect typing or uppercase, because it works now when i type it out but thanks for the quick answer :slight_smile:

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms