Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

SOMEONE PLEASE TELL ME WHATS WRONG IN THIS ASAP

using System.Collections;

using System.Collections.Generic;

using UnityEngine;


public class Player : MonoBehaviour

{

  public float moveSpeed = 600f;


  float movement = 0f;


  void Update()

  {

    movement = Input.GetAxisRaw("Horizontal"); 

  }

  private void FixedUpdate ()

  {

    transform.RotateAround(Vector3.Zero, Vector3.forward, movement * Time.fixedDeltaTime * -moveSpeed);

  }

}


Assets\Player.cs(17,40): error CS0117: 'Vector3' does not contain a definition for 'Zero'

Best Answer

Answers

Sign In or Register to comment.