Player movement is working (at least somewhat) now, however one issue remains, and that's the insane numbers the y velocity of the Rigidbody2D on the player. Si
I am trying to open a C# solution that has been generated from a Unity v2020.3.19f project with Visual Studio 2022. Opening it with Visual Studio 2019 works jus
I'm working on a Unity game in school and it was working fine until a few days ago when the project would not open. I had left my project open after I left the
A new problem has just appeared in my code. In OnTriggerEnter i'm testing if the player collides with the obstacle. When I tell the script to display a message
A new problem has just appeared in my code. In OnTriggerEnter i'm testing if the player collides with the obstacle. When I tell the script to display a message
I made a few surfaces and a few agents, then when I wanted to make a couple more the old navs and new ones just stopped working it says it only works if you pla
I am using await Task.Delay(10); in unity C# for delay .After build and run in Web-GL format .The execution stops at this line that has delay .When I remove the
I'm super confused. I am making a 3D fishing minigame with Unity. When I raycast at a water plane, I move a lure object to the point the raycast hits the water,
I downloaded an animation from mixamo as I have always done. Imported it to Unity and added to my character animator as usual, but I only get a T-Pose. Even in
Using unity FPSController asset, here's the code for actually moving the camera called in LateUpdate() method. private void CameraRotation() { // if there i
I am working on a script to rename Mesh in Unity directly because every time if I rename a FBX file the mesh asset still keep the old name as last time it has b
please excuse the messy code, all of this was written very hastily because I'm on a time crunch public class EnemyShoot : MonoBehaviour { [SerializeFiel
Hey fellow programmers, I have a small problem with Quaternion (who doesn't). I make an airship that is flying using rigidbody. Making it fly forward and turnin
I am currently maintaining an old project which I would very much like to keep the old code and avoid refactoring of the old code if it's possible. To upload it
I am a designer and I code only a little bit. I would like to know how I could use the output of the Twitter API (which I master) to use them on Unity. Which pr
I am creating a VR game in Unity. I am having a problem with hand tracking not working properly with PCVR (.exe build) only. The detailed situation is as follow
I am trying swing a ball with a racket, and the interaction doesn't feel well, I can't even swing the ball as when I try to do that the ball will just go throug
I`ve been doing a game and i got a problem , i tried to do a jumping cube but if you jump a lot the cube can rotate , i tried to restrict rotation by using: //
I'm trying to make a mobile game with Playfab and Unity. It's my first time using Unity and Visual Studio. Usually I'm only using VS Code. The code is working
help to translate this code in coroutine. Im making game in unity and need to creat coroutine for it. I try made it, but it doesnt works. private void