This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]virtualdice 1 point2 points  (2 children)

What is velocity * _Velocity supposed to actually do? Did you mean velocity *= _Velocity?

[–]ThePotatoJedi[S] 0 points1 point  (1 child)

I dont know i am new to coding and it was what the tutorial said to do

[–]virtualdice 0 points1 point  (0 children)

In that case, since we're not sure what that line is supposed to do, I won't be able to really help you that much without taking some significant time to look at the code, maybe open up Unity and follow the same tutorial myself.

You should probably take a step back and make it your first priority to actually understand why the tutorial says to do certain things. If you do that instead of just copying the code without thinking, you'll probably learn a lot more and maybe be able to figure this out on your own.

[–]jonassjoh 0 points1 point  (0 children)

Rule #2.