Odin
Odin
Explore posts from servers
CC#
Created by Odin on 7/8/2023 in #help
❔ Truncate
Oh, converttoint, why didn’t I think of that
14 replies
CC#
Created by Odin on 5/12/2023 in #help
❔ Is there a way to quickly change all instances of "var" in my code to "Country"?
It is fixed, i didn't know about find and replace
5 replies
CC#
Created by Odin on 3/29/2023 in #help
❔ GetAxis wont work
/close
32 replies
CC#
Created by Odin on 4/1/2023 in #help
❔ How do i write hello world
Now if you actually wanted to help me, all I can say is April fools
5 replies
CC#
Created by Odin on 3/29/2023 in #help
❔ GetAxis wont work
i caught my error
32 replies
CC#
Created by Odin on 3/29/2023 in #help
❔ GetAxis wont work
nvm
32 replies
CC#
Created by Odin on 3/29/2023 in #help
❔ GetAxis wont work
is that why, after changing the postion.x to y it still wont move vertically
32 replies
CC#
Created by Odin on 3/29/2023 in #help
❔ GetAxis wont work
thanks all
32 replies
CC#
Created by Odin on 3/29/2023 in #help
❔ GetAxis wont work
i saw itt as you were typing
32 replies
CC#
Created by Odin on 3/29/2023 in #help
❔ GetAxis wont work
oh
32 replies
CC#
Created by Odin on 3/29/2023 in #help
❔ GetAxis wont work
void Update() { float verticalInput = Input.GetAxis("Vertical"); float horizontalInput = Input.GetAxis("Horizontal"); //move game object as needed Vector3 position = transform.position; if (horizontalInput != 0) {
position.x += horizontalInput * MoveUnitsPerSecond * Time.deltaTime;
} if (verticalInput != 0) {
position.x += verticalInput * MoveUnitsPerSecond * Time.deltaTime; } transform.position = position;
}
32 replies
CC#
Created by Odin on 3/29/2023 in #help
❔ GetAxis wont work
I have
32 replies