Let me just preface my question by saying I'm quite new to unity and programming as a whole. However I've been experimenting with some movement and after adding
As you are supposed to use the Start() or Awake() methods instead of the class constructors in Unity to initialize your class properties, VisualStudio complains
I want to share a screenshot and link to Facebook. But I am not able to find anything, it seems Facebook has deprecated the functionalities. Correct me if I am
I have enemies spawn by instantiating them and having them follow a straight path along the X-axis. When instantiated, I want some variability in their height t
Could not find a working python interpreter. Please make sure one of the following is in your PATH: python python3 python3.8 python3.7 python2.7 python2 I insta
The default color now is mixed of colors with the default material : I want that at runtime or before running the game if i set the mode to None set the whole
Today I watched an video on how to make movement in youtube (https://www.youtube.com/watch?v=bzheMJQVtBI) but the movement occur only when I press W key or chan
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