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
0
votes
0 answers

Cinemachine Third person shooter multiple cameras with different positions not pointing toward same spot

Im doing a third person shooter using Cinemachine package. Now I have 3 cameras, one for view from behind of character, one for over shoulder view and one for sniper scope zoom. Each camera has different offset. This offset is causing cameras to aim…
0
votes
1 answer

Zoom to point using orbital/freelook camera in unity (3D)

I have an interesting yet frustrating problem.. I am creating a "zoom to point" feature in my game, that allows the user to zoom to the mouse cursor in 3D (perspective camera). The cursor should stay on the same xyz position while zooming and moving…
Aaron J
  • 11
  • 3
0
votes
1 answer

Making Cinemachine Main Camera lock to Global Offset instead of Local

I'm making a golf simulator game and trying to use cinemachine to track the ball through the air. The only issue is when I offset to try and make the camera more realistic, the spinning ball causes the offset to go berserk, spinning the camera along…
0
votes
0 answers

What could I use in replacement of OnPostPipelineStageDelegate /

I am trying to create a script in unity that plays a audio source when being followed, Apparently OnPostPipelineStage and OnPostPipelineStageDelegate no longer exist in cinemachinevirtualcamera base so anything i could do, I am really stumped…
0
votes
1 answer

how to reference virtual camera cinemachine unity

i was doing unity project with cinemachine in 2D, and the code is actually work but everytime i press play, the virtual cam dissapear in player script reference, here take a look as you can see in player control there is a variable/reference for…
Demo Nomp
  • 43
  • 4
0
votes
1 answer

CinemachineVirtualCamera GUI missing several options

I've been working on a Unity project with Github. At some moment we changed our camera to Cinemachine, and i started to get these errors in the console for every time i hover over CinemachineVirtualCamera in Inspector GUI. NullReferenceException:…
Unic
  • 1
0
votes
1 answer

Sprites not rendering in build. Unity [Fixed]

im trying to put my game in a build, however, some sprites arnt rendering, mostly things that dont collide, im the scene and game view they are visible, but in the build they arnt, here are screenshots of the views and build settings Edit: im also…
UltraAce
  • 15
  • 4
0
votes
1 answer

Cinemachine in Unity2023.1 is unusable: The name 'FindObjectsByType' does not exist in the current context

Just like the title, in Unity 2023.1.0a19, I created a new project, then installed the newest version of Cinemachine 2.9.5 by Package Manager, and it got 3…
0
votes
1 answer

How can I fix this weird third person camera behavior?

Ok, so I've been playing a lot of Devil May Cry 1 recently and I found out that I really like third person Hack and Slash games. So I wanted to make something similar using Unity. The character controller I've set up works pretty well for my needs.…
0
votes
0 answers

Smooth between vector3s

I'm looking for a function similar to SmoothDampAngle however that only smooths on one rotational axis. I want a way to change a Vector3 so that it changes between two points within a set amount of time. Lets say our starting point is the variable…
0
votes
0 answers

Cinemachine related questions

I downloaded the Cinemachine package and attached the Cinemachine Brain component to the main camera. After that, I created a VirtualCamera object, but I get the following error NullReferenceException: Object reference not set to an instance of…
0
votes
1 answer

Is it possible to zoom with a Cinemachine FreeLock camera in Unity?

In a 3D game, I have a 3rd person view and the camera rotates relative to the player regardless of the player's orientation. I used a Cinemachine Freelook camera for this. But I don't know how to zoom with this camera. enter image description…
0
votes
0 answers

How to make my cinemachine stop from shooting into outer space?

Im learning game developing and am now entering the camera follow subject, scrolled through a few tutorials and learned that I need a unity built-in utility called the Cinemachine, the concept seemed easy and I was pretty excited about implementing…
0
votes
1 answer

PS3 controller right analog stick with Cinemachine FreeLook

I'm trying to set up the right analog stick to move the camera with Cinemachine FreeLook. Please see the images for my settings. Currently, when I move the stick up/down, the camera moves left/right. When I move the stick left/right, nothing…
Joseph
  • 691
  • 4
  • 18
0
votes
1 answer

what could this error mean (I am using Unity)?

I tried to download Cinemachine and got the error below so I removed it and then this error popped up again. Help :( Assets\Samples\Cinemachine\2.8.9\Cinemachine Example Scenes\Shared\Scripts\InvokeEventFromInspector.cs(6,19): error CS0234: The type…