so I’m very new to any form of coding and don’t really know what I’m doing.
i have been learning slowly but don’t know what to do here.
it keeps telling me that there is an identifier expected.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class playermovement : MonoBehaviour
{
public float moveSpeed = 5f;
public Rigidbody2D rb;
Vector2 movement;
// Update is called once per frame
void Update()
{
movement.x = Input.GetAxisRaw(“Horizontal”);
movement.y = Input.GetAxisRaw(“Vertical”);
}
void FixedUpdate();
rb.MovePosition rb.Position (movement * moveSpeed , Time.fixedDeltaTime);
}
there are probably a lot of errors I’m not aware of but i have tried to find the answer but just cant figure it out.