About 19,200 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. Post-processing/volume not reflecting in other camera

    Apr 15, 2022 · I'm using the built-in Unity volume profile instead of Post-Processing V2. I'm currently stuck trying to figure out how to make both my cameras produce the same post …

  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 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 …

  7. 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 …

  8. 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 …

  9. 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 …

  10. Rotate Camera around a gameObject on Mouse drag in Unity

    Feb 24, 2019 · 2 I want to rotate camera around a gameObject (Say a cube) on a drag of my mouse to simulate a feeling that the gameObject is rotating (Just like we rotate object in scene …