About 713,000 results
Open links in new tab
  1. Rotate camera when right mouse button is down - Unity

    Apr 28, 2012 · I want to write a script which rotates the camera around the player when I hold the right mouse button down. I tried using this script I found somewhere on this site: var angles = …

  2. How to use Input.GetAxis("Mouse X/Y") to rotate the camera?

    Jul 28, 2015 · I want to make a first person camera that rotates with the mouse. I looked at the Input.GetAxis Scripting API page and found a sample code, which I have included at the …

  3. Rotate around player with holding right mouse button

    Apr 6, 2022 · So what I came up with (mainly thanks to this link Rotating and zooming camera using Unity's Cinemachine) is that when you start holding the right mouse button and drag left …

  4. Mouse Orbit Camera - Makinom

    Jan 19, 2021 · In this tutorial we’ll create a schematic to control a camera following the player. The camera angle/orbit can be changed by holding the right mouse button and moving the …

  5. Unity inconsistent camera rotation with mouse - Stack Overflow

    Apr 22, 2021 · Now the problem I am facing is, when making a first person controller based on rigidbody, that the rotation of the character and camera with the mouse is inconsistent and …

  6. Click+drag camera movement - Unity Engine - Unity Discussions

    Jan 21, 2010 · Hello, We’re making a board game-style turn-based game in Unity, and I would like to have a system where you click and drag on the board to move the camera. Like you’re …

  7. r/Unity3D on Reddit: What's most natural/common button or …

    Sep 11, 2023 · I use Right-Click drag to rotate the camera around the Y axis (horizontal) and in pitch (from looking horizontal to looking straight down, WASD/Arrow to move it, and the scroll …

  8. Unity Editor like moving camera with WASD and right clicking the mouse

    Aug 25, 2019 · * Move the camera with the mouse while holding down the right button mouse. * and move with WSAD or controller. * For controller you have to setup axis names for …

  9. Unity, hold down right mouse button to turn the camera

    Jan 11, 2022 · How would I use my right mouse button to turn a player character in Unity, while only turning in the direction and speed of the drag? The game is 3D and you should hold down …

  10. Simple Unity MMO Camera Movement Script - Darrell Bircsak

    Dec 23, 2016 · The player can move forwards/backwards and strafe left/right. Now lets make it so that only if the right mouse button is held down we strafe, otherwise we turn. This is copying …

Refresh