C
C#10mo ago
Tokey

Unity and me dum

What is wrong, im following a tutorial.
No description
No description
6 Replies
Angius
Angius10mo ago
What are you trying to achieve here? It's likely that the tutorial uses - there instead of = So
myRigidbody.velocity = Vector2.up - 10;
myRigidbody.velocity = Vector2.up - 10;
and not
myRigidbody.velocity = Vector2.up = 10;
myRigidbody.velocity = Vector2.up = 10;
Tokey
TokeyOP10mo ago
the goal is that the object goes up by 10 velocity every frame
Angius
Angius10mo ago
You probably want a + somewhere in there, then Not two = signs
Tokey
TokeyOP10mo ago
im so confused could you take a look at the video @ZZZZZZZZZZZZZZZZZZZZZZZZZ
Angius
Angius10mo ago
Screenshot the code they have in the video, let's see if it's the same as yours Can't watch it right now, going to bed. I can take a look tomorrow if it's not too long or you timestamp it. A screenshot would be the easiest tho
Tokey
TokeyOP10mo ago
I FIXED IT Good night @ZZZZZZZZZZZZZZZZZZZZZZZZZ
Want results from more Discord servers?
Add your server