Questions tagged [cinemachine]

Cinemachine is a packaged plugin for Unity3D, responsible for controlling all manner of camera settings, including blending between virtual cameras.

67 questions
5
votes
2 answers

Dynamically control Unity Cinemachine vCams Blends: HOW?

I can't find how to constantly dynamically blend between 3 cameras (I call them middle, upper & lower) based on the rate and height of the hero, constantly. When following the hero, the middle vCam is the main/base one, I'd like to proportionally…
Confused
  • 6,048
  • 6
  • 34
  • 75
3
votes
3 answers

How to stop cinemachine freelook camera rotation

I am working on a third person parkour game with new input system and cinemachine(Freelook). You move with the right joystick and look around using right joystick(Cinemachine Input provider). For doing tricks I am using button with one modifier, you…
3
votes
3 answers

How to access the value of cinemachine's camera distance in Unity / C#?

I'm working on Unity/C# now and I'm stuck with accessing CinemachineVirtualCamera's camera distance value in the script. What I'm trying to do is change the value of camera distance in the body section. First of all, how can I access the…
Yuuu
  • 715
  • 1
  • 9
  • 32
3
votes
2 answers

Cinemachine Collider not working, should the structures in Collide Against have Colliders?

I have a freelook camera, and added the extension of Cinemachine Collider. I've set all my structures in the scene into CameraCollider layer, chosen this layer in "Collide Against" option under the Obstacle Detection of the extension, and used the…
solidcomer
  • 419
  • 6
  • 18
3
votes
1 answer

Unity 3D: how to make boundaries using cinemachine?

I am trying to achieve same camera settings as in the video I am attaching below Video: https://drive.google.com/file/d/1jtb3D9qzOE3NYC6DuWkDCXflPWYT-nuz/view?usp=drivesdk My project have similar concept as in the video, you go up on tapping and…
Mingyu Kim
  • 127
  • 1
  • 11
2
votes
0 answers

Screen Touch control to move Cinemachine Camera in Unity

I'm making third person shooter game in unity for android and this is my first time working on touch controls so with the help of youtube videos I was able to make virtual joystick and button with On_Screen Stick and On_Screen Button button with new…
2
votes
1 answer

Unity3D Cinemachine - How can I lock onto an enemy dark souls style?

I'm working on a small experimental project in Unity, and I want to lock on to an enemy. My camera behaves similar to Dark Souls camera, by using Cinemachine Free Look camera. Now I want to be able to click a button, and lock onto the enemy, similar…
2
votes
1 answer

3rd Person Camera Movement using Rigidbody + New Input System + Cinemachine

so far I have a working movement system using Rigidbody and the new Input System. I have it set up so that WASD passes through the input which then moves the character forward, back, left and right while also facing that direction when pressed. I…
Pur3333
  • 21
  • 4
2
votes
2 answers

Lock Z-rotation in cinemachine

I have a problem with freezing rotation in z axis. There is an airplane and a cinemachine free look camera is attached to it. When the plane rotates along the Z axis, the camera rotates with it. Is it possible to somehow block only one axis of…
Artem Volkov
  • 109
  • 1
  • 10
1
vote
1 answer

(UNITY 3D): moving a camera along a rail/predefined path using mouse scroll input

this is my first post on this community. I searched around for some content to help me with my question, and I've found some stuff that could potentially help me but I just wanted to know if its possible to move a camera along a fixed path using a…
seanie
  • 11
  • 2
1
vote
0 answers

Unity bloom effect not working (cinemachine, URP)

I've been working on a fairly large project in Unity. Until recently, we weren't using universal render pipeline (URP) and made that change. When we did, all the bloom effect we already had in place to create a neon glow look for our game…
Ana Cruz
  • 93
  • 7
1
vote
0 answers

How do you read the rotation of a cinemachine camera?

I would like to be able to read the rotation of a cinemachine camera so that I can set other objects to match its rotation as it moves. I'm trying to make a 1st person controller using cinemachine and I want to match the Y axis rotation of the…
Dalsha
  • 11
  • 1
1
vote
0 answers

Why does my Unity 3D Player Character jump ahead of the Cinemachine camera every few seconds?

Problem: When the Player Character is rolling and the camera is following, every 10-30 seconds there is a frame where the player character jumps ahead of the camera and then the next frame it's back to normal. It's hard to recreate this…
1
vote
2 answers

Cinemachine: Lock rotation and smooth movement

I'm trying to figure out Cinemachine to create some kind of Top view perspective. I managed to find the setting to make sure the camera keeps it's rotation, and follows the player. My issue now is that little extra movement that happens when the…
1
vote
1 answer

Smoothly zoom cinemachine camera in and out relative to player's increasing speed

I'm new to Unity, transitioning from Unreal, and I'm trying to make a simple endless runner to start. I'm having trouble implementing the camera. I'm just trying to edit its camera distance variable in the body dropdown of its inspector via the…
GDBlue
  • 11
  • 1
1
2 3 4 5