#Camera movement Y (cant select camera object)

1 messages · Page 1 of 1 (latest)

cobalt ore
#

I'm new (just installed unity)
I want to make basic player controller

#

it is not embedded graph

spring kraken
cobalt ore
spring kraken
#

you have to add the Graph to the Script machine on the gameobject, then edit the graph from there

cobalt ore
#

is converting to embedded graph a good idea?
I want to make parkour game

spring kraken
cobalt ore
#

ok

#

will try it

spring kraken
#

But make sure to press the convert button don't manually change the Source

cobalt ore
#

idk it is not working

#

worked

#

but the camera is looking down and gliching

devout sapphire
#

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

cobalt ore
#

I just want basic camera movement lol

#

X works but Y is bugged

devout sapphire
#

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

cobalt ore
#

cam andle is switching between 90 and -90 every frame

#

angle

devout sapphire
#

remove the clamp node and look at where the camera looks when you move the mouse or something

cobalt ore
#

I removed Get Variable and it stoped moving Y

#

XD worked

#

just changed - to +

devout sapphire
#

huh ? magic i guess

devout sapphire
#

yeah that was obviously why lmao

cobalt ore
#

is using character controller good idea for parkour game?

#

(like parkour legacy)

devout sapphire
#

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