#Help with Vector 3 normalization

1 messages · Page 1 of 1 (latest)

worn hinge
#

Hi, I'm new to Visual Scripting and I just can't figure out how to connect my set vector 3 Y to Vector 3 Normalize, This is the only normalize option I get.

#

Here's the full sequence

#

Do I need to convert the Set Y float output to a transform and then connect it to Vector 3 Normalize?

gaunt grove
worn hinge
#

It breaks with simple float normalization

gaunt grove
#

yeah so try and get the Y instead of setting it

worn hinge
#

ah okay

worn hinge
# gaunt grove yeah so try and get the Y instead of setting it

That doesn't work either, it's harder since I'm also trying to get camera rotation (Cinemachine Freelook) and getting the model to move in the direction according to the camera. The Set Y was basically there to ground the gameobject from entering orbit.

For Example, if I press S while my camera is pointing down, it starts floating up.

(Sorry if this is too complicated to understand, English isn't my first language)

#

None of this is now connected to the main sequence chain

gaunt grove
worn hinge
gaunt grove
worn hinge
gaunt grove
#

Cool

worn hinge
#

@gaunt grove Hey, fixed it. It was as simple as creating a complete new vector purely to process the movement

fair tusk
#

Just in case, there's different normalize nodes.

One of those can accept vector 3 as input. And gives v3 output. And then can use get X or Y or Z if needed.

Cool that you made it work at the end ✌️

fair tusk
worn hinge
fair tusk
#

You can also use the error finder uploades here

#1402768265217835100

Find the subtitle:

*🤬 The uVS-specific error messages are annoying" there's a errorFinder.cs you can use to quickly find red nodes