#Camera movement Y (cant select camera object)
1 messages · Page 1 of 1 (latest)
if you are not using a Embedded graph you will probably need to use a Object variable and Input the Main Camera into that instead
this?
I cant create Object variable
you have to add the Graph to the Script machine on the gameobject, then edit the graph from there
is converting to embedded graph a good idea?
I want to make parkour game
I mean if you are not going to use the Graph Anywhere else then it won't break anything
But make sure to press the convert button don't manually change the Source
good luck, i have always struggled to make things rotate how i want, its really hard
the eulerangles that are on the transform component arent the same as the eulerangles that youll get in code
i think it is something like 0 to 360 in code and it loops around every time it goes above or below
you should probably check the graph while its running and look at what numbers are going through each node and see if it makes sense or where it breaks
these numbers
remove the clamp node and look at where the camera looks when you move the mouse or something
huh ? magic i guess
oh im dumb i didnt even see that the clamp is backwards
yeah that was obviously why lmao
thats up to you
using a character controller is easy and comes with a lot of nice things but if you want complete full control of the character its probably best to go with a rigidbody or something else
i personally like rigidbodies but some things are really difficult to implement, its more difficult but more flexible