How to use the NEW Input System with Cinemachine in Unity

How to use the NEW Input System with Cinemachine in Unity

samyam

3 года назад

45,614 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@SyedHammadZada
@SyedHammadZada - 28.08.2023 18:04

How to do that with touch screen instead of mouse and making it within the right half of mobile
screen?

Ответить
@wahebplays
@wahebplays - 29.07.2023 15:30

well done .
but i want to create canvas of Look its not working for me . its not copying delta[mouse]

Ответить
@angelrubiov
@angelrubiov - 18.07.2023 23:28

Thankssss 10/10 :)

Ответить
@makcings4764
@makcings4764 - 13.07.2023 08:09

Idk why but when i use Virtual camera for first person with this method its so snappy, its like camera rotation teleporting bits by bits. can anyone help me?
Edit: i partially fixed it. the Input System package was already set at dynamics update,
but i also had to change the updates on Cinemachine Brain both late update.
and in Virtual Camera i used Input Gain rather than Max speed.
now its smoother but at slower speed its still snappy. still need help.
Edit2: Smaller Input gain helped with damping the snappiness at slower speed.

Ответить
@donkeykong315
@donkeykong315 - 28.04.2023 00:35

Sus player model

Ответить
@RyanShappa
@RyanShappa - 22.02.2023 20:15

This video is super awesome and very straightforward! The only question I have is: How can I get my character to rotate with the mouse input since it's coming from the cinemachine component? How can i get the mouse values to make the player rotate per the input values?

Ответить
@richardrothkugel8131
@richardrothkugel8131 - 21.02.2023 06:04

Great tutorial. The new input system confuses the hell out of me.

One thing. How do you only rotate the camera when the right mouse button is held down. I just CANNOT figure out how to do this with the new input system. A quick explanation would be greatly appreciated.

Ответить
@drcrook1
@drcrook1 - 27.01.2023 19:45

I can't seem to get this to work with gamepad controls and the third person camera.

Ответить
@neozoid7009
@neozoid7009 - 10.01.2023 17:42

Awesome video . But how can I apply this method for a right gamepad stick instead of mouse delta?? Please help

Ответить
@AsTimeDilates
@AsTimeDilates - 24.12.2022 15:21

This video was amazingly well done. Super fast and super complete. I wish all tutorial had your rate and precision of explanation. Subscribed, thank you.

Ответить
@HerrBardo
@HerrBardo - 08.12.2022 02:19

Genia

Ответить
@vinotinto8547
@vinotinto8547 - 02.12.2022 15:02

NOICE

Ответить
@jaja987
@jaja987 - 27.10.2022 22:29

Bit of a late comment but how would you handle player rotation?

Ответить
@NotARealPersonBR
@NotARealPersonBR - 15.10.2022 02:32

thx a lot for this

Ответить
@msslamajama2
@msslamajama2 - 08.10.2022 18:49

how would I change the input provider its using mid game? Like if I wanted to change it from mouse controls to right stick controller controls. Whatever I try in script doesn't seem to work and I can't seem to change the XYaxis in it

Ответить
@velkyngame
@velkyngame - 02.10.2022 14:44

Hey, thanks for the great video. Do you know how I can add Mouse AND Controller support? Adding 2 input providers doesn't work.

Ответить
@ryroio
@ryroio - 01.10.2022 02:44

Another LudumDare, another lookup of how to use the new input system.

Ответить
@jmunozve
@jmunozve - 17.09.2022 17:37

Thank.. samyam.. yoo helpme, i am crazi search solution for that problem.. i loveeeeee !!

Ответить
@whitewerebear
@whitewerebear - 16.09.2022 02:48

This is great! works a lot!!

Ответить
@matanyamin1
@matanyamin1 - 01.09.2022 09:29

Thank you. Short and straightforward. Keep up the good work.

Ответить
@freelancepakistangames7245
@freelancepakistangames7245 - 24.08.2022 18:56

Thankyou Samyam 👑

Ответить
@diegocruz8187
@diegocruz8187 - 07.07.2022 04:20

I know it is a kinda old video, but how can I change the XY axis input dynamically? Ive tried setting it to an action but it keeps on saying that I can not convert an action into an action reference

Ответить
@CannabisTechLife
@CannabisTechLife - 29.06.2022 23:34

Thanks! Very helpful

Ответить
@drominus3875
@drominus3875 - 28.06.2022 02:20

Unity added a nice new Add Input Provider button. I had a strange bug where Mouse/Pointer X wasn't registering. To fix: Delete the Cinemachine camera and recreate it > Add Input Provider > Hook up to your Mouse look action.

Ответить
@ASFilmStudios
@ASFilmStudios - 09.06.2022 18:50

thank yoiuuuuuu

Ответить
@halivudestevez2
@halivudestevez2 - 08.06.2022 21:34

again, you have saved me. thank you!

Ответить
@XboxPlayerPL
@XboxPlayerPL - 03.06.2022 15:24

Input provider doesn't work in my case. Why is that case? I provide input action asset there.

Ответить
@satan1149
@satan1149 - 27.05.2022 16:10

thanks alot for this, really helped me out

Ответить
@GameEvolutionFromCN
@GameEvolutionFromCN - 24.03.2022 18:13

Thank you Samyam for providing this solution! Very helpful

Ответить
@Alejandroperez-vp1nd
@Alejandroperez-vp1nd - 18.03.2022 14:19

Sheesss you saved me! thank you so much!

Ответить
@GeoRush1110
@GeoRush1110 - 09.03.2022 21:26

This was a Project Saver, Thank You!

Ответить
@efraimbudusan7921
@efraimbudusan7921 - 27.02.2022 16:26

Hello, Why did you use Cinemachine for this specific example? I mean what benefit does Cinemachine bring over setting directly a Camera's transform? Wouldn't it work the same way?

Ответить
@Tcrakman
@Tcrakman - 25.02.2022 08:21

Thank you!!! thank you so much! been having this problem for a while.

Ответить
@sora8291
@sora8291 - 22.02.2022 12:37

How do I make it so that I have to hold right click and drag to rotate the camera around? Ive been struggling with the new input system

Ответить
@DSilvandoBlade
@DSilvandoBlade - 18.02.2022 17:19

Thanks for showing me how to do this but I have an issue with the camera. The camera seems way too sensitive now literally me just holding the mouse in my hand makes the camera wobble about. I tried playing around with the settings but nothing is working. Does anyone know what to do? This isn't a problem with the old input system it worked like a charm on there.

Ответить
@018FLP
@018FLP - 25.01.2022 07:49

Heeeey! I love your tutorials, they're really well done and cohesive. I had some issues, but then i unistalled and reinstalled everything and now it works like a charm! ;D

Ответить
@soma78
@soma78 - 23.01.2022 19:38

One problem though. Just as with your previous video on the topic, the player (mesh/ capsule) is not rotating, to follow the mouse/ camera direction. Any ideas on how to do that ? Thanks.

Also, would be awesome to see how to switch from 1st to 3rd person in game.

Ответить
@michaelkjellander9370
@michaelkjellander9370 - 19.01.2022 06:03

Thanks.

Ответить
@joanlinan8931
@joanlinan8931 - 09.01.2022 02:06

super useful video!!

Ответить
@user-em9su3dd9y
@user-em9su3dd9y - 10.12.2021 06:06

Oh perfect thanks!

Ответить
@LucasAckman
@LucasAckman - 04.12.2021 11:15

That capsule looking kinda sus in the opening

Ответить
@ranjanisworking
@ranjanisworking - 19.11.2021 03:14

It doesn't seem like they include the CinemachineInputProvider, so I suppose I'll have to reference the previous video

Ответить
@Bamboo01
@Bamboo01 - 18.10.2021 09:08

tank u kind stranger

Ответить
@komodofpv1267
@komodofpv1267 - 14.10.2021 01:09

I've been struggling with camera movement with the new input system since yesterday and this is exactly what I needed. Thank you so much!! Subscribed instantly!!

Ответить
@Bobby59452
@Bobby59452 - 01.10.2021 10:26

Can we input touch camera in cinemachine virtual camera?

Ответить
@nickcassidy7039
@nickcassidy7039 - 28.09.2021 01:08

THIS!!! I have followed so many tutorials separately on the input system and cinemachine, but I never understood to get them to work together. Thank you so much! Amazing work.

Ответить
@scattered.nightshade
@scattered.nightshade - 05.09.2021 02:18

bit confused here, i think i missed a step but, my player doesnt appear to be moving relative to the camera
everything else works, its just that player isnt moving relative to the camera

Ответить
@DavidRosen3
@DavidRosen3 - 25.08.2021 23:52

This new Input System isn't as intuitive as Unity claims it to be. I've followed this short tutorial, adding a new Action to an existing Action Map. Doing it that way, the camera doesn't work. No errors, but it doesn't work. It only works if you give the camera its own Input Actions that isn't referenced by any other system. That defeats the whole purpose of the Action Map system.

Ответить
@mosaabmatar4117
@mosaabmatar4117 - 21.08.2021 01:00

am getting 26 errors whenever I Install cinemachine

Ответить