About 18,800 results
Open links in new tab
  1. c# - Unity camera follows player script - Stack Overflow

    Jan 20, 2021 · 23 Making the camera following the player is quite straight forward. Add this script to your main camera. Drag the reference of the player object to the script and then you are …

  2. How do I make a camera follow an object in unity3d C#?

    Sep 29, 2015 · @chesnutcase: The camera's position and orientation is stored as a 4x4 matrix. The rows (or columns, depending on how it's set up) of the matrix equate to: unit right vector, …

  3. How to solve "No cameras rendering" in Unity? - Stack Overflow

    Jan 17, 2022 · It's very confusing what is happening in your Unity scene. I assume either you have a disabled camera object or no camera at all. Search the hierarchy for a MainCamera …

  4. Unity camera UI dosen't see the UI - Stack Overflow

    Mar 15, 2024 · I created a camera, which I want to render only my UI. When I play I don't see the UI in gameplay, but if I change a value in clipping planes or disable the camera and activate it …

  5. Unity Camera Clipping Issue - Stack Overflow

    May 1, 2017 · I'm having an issue with my camera, it is clipping one of my 3D models (cf images below). My camera Near Clipping Planes is already at its lowest value and all my shaders …

  6. unity game engine - How can I rotate the camera using a Script …

    You can set the rotation of your camera with Quaternion.Euler If you want to set the rotation on the Y axis it would be: transform.rotation = Quaternion.Euler(new Vector3(0,90,0)); On the …

  7. Background of MainCamera (Unity C#) - Stack Overflow

    Mar 17, 2016 · Camera in unity doesn't have any built-in background functionality. Also if you move camera, you may want to make the background a child of camera or attach the script …

  8. Moving a camera from it's current position to a specific position ...

    Mar 2, 2016 · 4 I have a camera that is orbited, panned around an object to showcase the object in question, because the object is rather large it's easy to potentially lose your position and …

  9. unity game engine - Transparency in Camera RenderTexture

    May 16, 2023 · In my Unity project, I'm working on rendering a view from a Camera to a Texture2D. I have created a RenderTexture to capture the Camera's output and then copied it …

  10. How do I set the boundaries of a 2d ortographic camera in unity …

    0 Here is the script that I am using for the camera. Right now, I manually have to set the boundaries by positioning the camera where it looks like it's the limit of the border. There are a …