Visual Studio Code – wall bounce in Unity
I'm writing a game for unity and I encountered a problem, I need the ball to bounce off the walls all the time without losing speed, my ball crashes into the wall and stays in it, here is the code…
I'm writing a game for unity and I encountered a problem, I need the ball to bounce off the walls all the time without losing speed, my ball crashes into the wall and stays in it, here is the code…
I am running an Azure Function (V4) on .NET 7 in an isolated-process. All exceptions are shown in Azure Application Insights as RpcExceptions. It looks like my function is wrapped inside this "Invoke" and that it can only return an…
I am dealing with a Json object with an a priori partly unknown structure. I am not sure whether I can use the deserialising object method, because I cannot predict the exact structure length and naming I wish to target.…
I have a WCF service (the project is a WCF service library), the service works, I can call this service form Insomnia but when i try to use it in my next.js app, I get this error: Access to fetch…
Is there any way to have a specific card show its own text when you click the show text button. I've tried several different ways of manipulating CSS, it doesn't work @foreach(var note in noteViewModels) { <div class="m-2"> <div class="d-flex…
IDE: MS Visual Studio - C# Code Screenshot: Code ServiceAccountCredential cred; //UserCredential cred; string[] scopes = new string[] { GmailService.Scope.GmailLabels, GmailService.Scope.GmailModify, GmailService.Scope.MailGoogleCom }; using (var stream = new FileStream(@"C:UsersuserDownloadsiwt-mail-crm-sync-135b79aaca90.json", FileMode.Open, FileAccess.Read)) { cred = ServiceAccountCredential.FromServiceAccountData(stream); cred.Scopes = scopes; } var…
I am working on a school project and the task was to create an application, which one of the features is to save multi-lined text (user input) into a string. I know some parts of the code might be outdated,…
I'm receiving data from a client that represents a function in a ChaptGPT api request, viewable here: https://platform.openai.com/docs/api-reference/chat/create. I would expect the received JSON to be parsed by Newtonsoft.Json and then for the JSchema parsing to happen during the JSON…
I have a problem when I copy code around in my solution in Microsoft Visual Studio (newest version). The pasted code doesn't have color highlighting; it's just white. As seen in the picture, the "string" in "std::string" should be green,…
Visual Studio 2022 17.5 and later supports importing the C++23 standard library named module std by replacing all instances of #include <header> with import std; where <header> is a standard library header. According to the tutorial there are some limitations,…