Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

coding not translating to unity.

Discussion in 'Scripting' started by awildmanwithpoz, Dec 28, 2020.

  1. awildmanwithpoz

    awildmanwithpoz

    Joined:
    Dec 25, 2020
    Posts:
    1
    hi guys I'm new to making games but I'm making a 2D game and my visual studios code is not responding with unity. I've been at a stand still for days looking everywhere and 'I'm just stuck. the most simple commands like "GetComponent<Rigidbody2D>().isKinematic = true;" has zero response and my character still falls from the sky. I'm truly lost.
     
  2. Boo-Let

    Boo-Let

    Joined:
    Jan 21, 2019
    Posts:
    150
    Can you post some of your actual code for us to see what’s going on? You do have it attached to the Gameobject right?
     
    Joe-Censored and Bunny83 like this.
  3. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,756
    Is this a code problem or a tools problem?

    If it is tools, this may help you with intellisense problems:

    https://forum.unity.com/threads/intellisense-not-working-with-visual-studio-fix.836599/

    Also, try update the VSCode package inside of Unity: Window -> Package Manager -> Search for Visual Studio Code Editor -> Press the Update button

    Also, this: https://forum.unity.com/threads/no-suggestions-in-vscode.955197/#post-6227874

    If it is actually a code problem, here is how to report your problem productively in the Unity3D forums:

    http://plbm.com/?p=220
     
    Joe-Censored likes this.