#You can post here or make a thread No

1 messages · Page 1 of 1 (latest)

formal tiger
#

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...

shut jacinth
#

Did I help you yesterday or something? I don't remember

#

Nah same issue but different person

formal tiger
#

maybe a while ago idk I cannot remember tbh

#

but you got any ideas as to what I can do to fix it?

shut jacinth
#

Not without seeing some code. In 10 minutes I'll have to disconnect

formal tiger
#

ok, so if I send a ss of the code, You might be able to point out an issue or a solution?

shut jacinth
#

Go ahead

formal tiger
shut jacinth
#

(Side note that your VS isn't configured to work with Unity, after that you should check the #854851968446365696 to do the config)

formal tiger
#

Plese keep in mind this is NOT my code, Juka sent me this which honestly is better than the one I copied from yt

shut jacinth
#

Got the issue!

formal tiger
#

wait, How did you know it wasnt configed?

shut jacinth
#

Unity types are not colored by the syntax highlighter

formal tiger
#

right, so After I config it, then it should show all errors?

shut jacinth
#

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

formal tiger
#

so I just have to change the 2 letters to cpital?

shut jacinth
#

No, just "Start"

formal tiger
#

ok, is that the only issue though?

shut jacinth
#

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

formal tiger
#

So I just get rid of the Time.deltaTime

#

??

shut jacinth
#

Yep

formal tiger
#

so thats it, the camera should be alined?

#

a lined*

#

centered?

#

I think ya know what I mean 😆

shut jacinth
#

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

formal tiger
#

tbh I have never archived a thread before so I may end up just making another...