#You can post here or make a thread No
1 messages · Page 1 of 1 (latest)
Ok so as Juka said, in the beginning of my simple game I can't quiet figure out what is wrong with my camera, everytime I got to test it, the camera starts looking in every direction but straight ahead...
Did I help you yesterday or something? I don't remember
Or was it you in #archived-code-general
Nah same issue but different person
maybe a while ago idk I cannot remember tbh
but you got any ideas as to what I can do to fix it?
Not without seeing some code. In 10 minutes I'll have to disconnect
ok, so if I send a ss of the code, You might be able to point out an issue or a solution?
Go ahead
(Side note that your VS isn't configured to work with Unity, after that you should check the #854851968446365696 to do the config)
Plese keep in mind this is NOT my code, Juka sent me this which honestly is better than the one I copied from yt
Got the issue!
wait, How did you know it wasnt configed?
Unity types are not colored by the syntax highlighter
right, so After I config it, then it should show all errors?
Errors, and most importantly code completion suggestions as you type
And as for the actual issue, Unity won't call void start(), but it will call a similar but nonetheless different method void Start()
Capitalization matters
so I just have to change the 2 letters to cpital?
No, just "Start"
ok, is that the only issue though?
Mouse input shouldn't be multiplied by Time.deltaTime (in your MoveCamera function)
That's a common error Brackeys introduced, we see that a lot
Other than that looks good
Yep
so thats it, the camera should be alined?
a lined*
centered?
I think ya know what I mean 😆
Considering you now rotate the camera in Start to a specific angle, I'll say yes
Now's my time to go, I'll let you archive the thread. If any more issues arise just post again in the main channel
tbh I have never archived a thread before so I may end up just making another...