#AZUSA

1 messages · Page 1 of 1 (latest)

lavish sonnet
#

Can you send the Player script?

slate badge
#

huh

#

ok

#

@lavish sonnet

lavish sonnet
#

Is this 2D?

slate badge
#

no

lavish sonnet
#

transform.Translate(movement * Time.deltaTime * _speed, _direction); This is likely what you want

slate badge
#

-.-

lavish sonnet
#

But you probably wanna go through and make sure your script matches the tutorial

#

Did that work for you?

slate badge
#

;-;

#

no

#

still have errors

#

my script followed the tutorial

#

but his unity version was 2020

#

not 2021

lavish sonnet
#

These aren't issues with Unity versions

#

Can you send a link to the tutorial and the timestamp you're at?

#

And what are the new errors?

slate badge
#

@lavish sonnet

lavish sonnet
#

What timestamp are you at?

slate badge
#

somewhere arrounf 14:48

lavish sonnet
#

What errors are you getting now?

slate badge
#

;-;

lavish sonnet
#

Your script didn't follow the tutorial by the way. He doesn't use a Vector2 there

slate badge
#

?

lavish sonnet
#

It's Input.GetAxis. Capitalization is important

slate badge
#

i never used a vector2?

lavish sonnet
# slate badge ?

Your script originally had transform.Translate(new Vector2(movement * Time.deltaTime * _speed, _direction));

slate badge
#

-.-

#

no

#

some other guy game me that code

lavish sonnet
#

Oh, well I don't know why they gave you that then

slate badge
lavish sonnet
#

I'm not sure on that third error. What does your script look like right now?

#

Like, as a screenshot with line numbers visible

slate badge
lavish sonnet
# slate badge

That's for compilation errors, I believe? I've never actually looked at that before

slate badge
#

ok

lavish sonnet
# slate badge

transform.Translate(new Vector3(movement * Time.deltaTime * _speed, _direction));

slate badge
#

replace?

lavish sonnet
#

Yeah

slate badge
#

ok

lavish sonnet
#

I get what the idea was behind that original line now. Must've mis-typed or something

slate badge
lavish sonnet
#

Oh wait

#

transform.Translate(new Vector3(movement * Time.deltaTime * _speed * _direction));

slate badge
#

ok

lavish sonnet
#

You had a comma instead of a *

slate badge
#

oh-

#

damn

#

unity hard

lavish sonnet
#

One thing after another with this line

slate badge
#

sorry for interupting your gameplay

lavish sonnet
#

transform.Translate(movement * Time.deltaTime * _speed * _direction);

slate badge
#

...

#

are we realy heading into the tutorial?

#

i mean are we following it

lavish sonnet
lavish sonnet
slate badge
#

;-;

lavish sonnet
slate badge
#

ok

lavish sonnet
#

Turns out it was just a typo and a random Vector2

slate badge
#

D:

#

YoUr CodE WoRkes

#

tysm

lavish sonnet
#

Ayyy

#

No problem

slate badge
#

;-;

#

thanks

#

how do i set my camera to my view

#

or hovert arround with the camera locked to view

#

@lavish sonnet

lavish sonnet
#

In scene view?

slate badge
#

yes

lavish sonnet
#

Just hold right click and WASD

slate badge
#

ok

#

thx

#

how do i make it slower

#

@lavish sonnet

#

im realy sorry for pinging you

#

;-;

lavish sonnet
#

No idea

#

I looked it up and didn't find anything either

#

Oh wait, got it. Scroll while holding right click

slate badge
#

ok

#

uhhhh

#

@lavish sonnet

#

how do i make it so that my camera snaps to my view

#

im realy hopping i dont annoy you much

lavish sonnet
#

Oh no, you're fine

#

Click your camera in the hierarchy, then select this

slate badge
#

ok

#

thanks

slate badge
lavish sonnet
#

Can you send its inspector?

slate badge
lavish sonnet
#

Is SphereBot your player?

slate badge
#

yes

lavish sonnet
#

Can you select it and send another screenshot of that screen?

slate badge
lavish sonnet
#

So by missing, do you mean that it's just completely gone from the scene?

slate badge
#

when i press play

lavish sonnet
#

That's a weird one

slate badge
#

must be clipped into the camera

#

due to the size

lavish sonnet
slate badge
#

ok