Hi guys, just starting fresh trying to follow some tutorials. Tutorial vid is getting different results using what is, as far as I can tell, the same method I am using. I am using visual studio 2019 to edit C# and it doesn’t seem to be importing the types form unity. I’d really like to get started on this project, but I hit a roadblock right away.
Please help!
This is my error:
Assets\PlayerMovement1.cs(7,12): error CS0246: The type or namespace name ‘RigidBody’ could not be found (are you missing a using directive or an assembly reference?)
and this is my script:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMovement1 : MonoBehaviour
{
public RigidBody rb;
// Start is called before the first frame update
void Start()
{
Debug.Log("Hello, World!");
}
// Update is called once per frame
void Update()
{
}
}
**EDIT: I have this script attached to a cube that is using rigidbody