Galelao
Looking to not include the ground in my racing game to collide and trigger the event for FMOD
I have some code I am using to trigger as sound when colliding with objects in my racing game I am working on, but when the car leans or tilts it is hitting the ground and triggering the event. How would I exclude the ground from being a trigger that starts the event in this script?
3 replies
❔ Stuck making trying to run a dotnet new conole for new folder
I am getting the error, when I am trying to follow a tutorial on how to learn C#.
PS C:\Users-------\OneDrive\Desktop\My Awesome Project> dotnet new console
It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download
PS C:\Users\Sam's Level\OneDrive\Desktop\My Awesome Project>
Any and all help would be greatly appreciated.
9 replies
❔ Learning C# Need help fixing a problem.
I am following a tutorial but am stuck because of a problem that is coming up I do not understand it.
Here is my Code:
using System;
namespace Learning_Unity
{
class Program
{
static void Main(string[] args)
{
Console.Title = "SnowCrash";
Console.ForegroundColor = ConsoleColor.Cyan;
Console.WindowHeight = 40;
Console.WriteLine("Hello, what's your name?"); Console.ReadLine(); Console.WriteLine("Ah yes, I see. \nThank you for that valuable information."); Console.WriteLine("What is your address?"); Console.ReadLine(); Console.WriteLine("Haha, this is fun! \I can't believe I am talking to a real person.");
Console.ReadKey(); } } } Here is the error [{ "resource": "/c:/Users/-------/Desktop/Game Dev/Learning Unity/Program.cs", "owner": "msCompile", "code": "CS1002", "severity": 8, "message": "; expected [C:\Users\------\Desktop\Game Dev\Learning Unity\Learning Unity.csproj]", "startLineNumber": 22, "startColumn": 75, "endLineNumber": 22, "endColumn": 75 }]
Console.WriteLine("Hello, what's your name?"); Console.ReadLine(); Console.WriteLine("Ah yes, I see. \nThank you for that valuable information."); Console.WriteLine("What is your address?"); Console.ReadLine(); Console.WriteLine("Haha, this is fun! \I can't believe I am talking to a real person.");
Console.ReadKey(); } } } Here is the error [{ "resource": "/c:/Users/-------/Desktop/Game Dev/Learning Unity/Program.cs", "owner": "msCompile", "code": "CS1002", "severity": 8, "message": "; expected [C:\Users\------\Desktop\Game Dev\Learning Unity\Learning Unity.csproj]", "startLineNumber": 22, "startColumn": 75, "endLineNumber": 22, "endColumn": 75 }]
16 replies