Remove the faulty semi colon on your last line.
Also currently your speed value of 0.1 f means that per update you move that amount.
You should add a „ * Time.DeltaTime „ and normalize your moveDirection as currently you d move faster diagonally. (The magnitude of your vector would be higher then 1)
Also make sure that your monobehaviour is attached to your game object.
Additionally, you could cache your transform on top of your class but I think you don’t have to do that anymore as unity does it somewhat automatically for performance increase. (Isn’t extremely significant for one instance.
Also, write your Script names with uppercase letters. ( just a Convention, not Beck Breaking if you don’t)
Yes, but you still have to spend time and energy if they come knocking. And I am glad you know the sky and no man’s sky reference since that’s what I was about.
What exactly would I need to look into if I want to improve performance based on the hardware of, for example the ps5? As someone who has very little hardware knowledge outside of the basic computer ones?
The Secret Agency is already on you, and as an intern I can tell you we are only 45 minutes away. Cu soon
Remove the faulty semi colon on your last line. Also currently your speed value of 0.1 f means that per update you move that amount.
You should add a „ * Time.DeltaTime „ and normalize your moveDirection as currently you d move faster diagonally. (The magnitude of your vector would be higher then 1)
Also make sure that your monobehaviour is attached to your game object.
Additionally, you could cache your transform on top of your class but I think you don’t have to do that anymore as unity does it somewhat automatically for performance increase. (Isn’t extremely significant for one instance.
Also, write your Script names with uppercase letters. ( just a Convention, not Beck Breaking if you don’t)
Ex. Move PlayerManager GameManager ObjectMovesCircular
Yes, but you still have to spend time and energy if they come knocking. And I am glad you know the sky and no man’s sky reference since that’s what I was about.
„Sky“ let me introduce myself
What exactly would I need to look into if I want to improve performance based on the hardware of, for example the ps5? As someone who has very little hardware knowledge outside of the basic computer ones?