#Code Help, Animation Switching
1 messages · Page 1 of 1 (latest)
Hmm
are you using 3D
Yes
first person game?
Nope 3rd person
Would be nice ye! Thank you
I only need to know why the animator doesn’t switch , even I did it right
Speed is 1 … but iam all the time in the idle animation …
here's the code
Thank you!
and wait for me for the tutorial
lol here ya go jävlar heres your tutorial
GitHub - https://github.com/DaniDevy/FPS_Movement_Rigidbody
Merch lol - https://represent.com/store/dani
A quick tutorial on how to make movement like in my game Karlson
just move the camera and remix the code
it will be fine
Alr, thank you very much !
you're welcome
Im starting coding and have a basic movement model here
using UnityEngine;
public class PlayerMovement : MonoBehaviour
{
private void Awake()
{
body = GetComponent<Rigidbody2D>();
}
private void Update()
{
body.velocity = new Vector2(Input.GetAxis("Horizontal"), body.velocity.y);
}
}
but its saying this
is this because im following an old version tutorial or what?