Player Camera Look using Cinemachine (Free Look) | Unity

Create your own Unity short film:
courses.obalfaqih.com/courses...
Player Camera Look using Cinemachine (Free Look) | Unity
Need help? Book a consultation session now:
store.obalfaqih.com/products/...
In this tutorial, we will use Cinemachine FreeLook Camera to create an orbit camera that rotates around the player using the mouse. Then we'll add a collider to the camera to avoid it from running into walls or having obstacles block the view of the player.
Camera Follow using Cinemachine (Introduction):
• Cinemachine - Camera F...
Get the environment from the asset store:
assetstore.unity.com/packages...
Chapters
00:00 Intro
00:40 Cinemachine Playlist
00:55 Creating The Camera
01:36 Explaining Rigs
02:10 Adjusting The Radius
02:30 Modifying Controls
02:49 Modifying Aim Track
03:53 Camera Collider
04:18 End
------ Tools & Gear I Use (Affiliate Links) ----
obalfaqih.com/gear
------------ Links ------------
My website:
obalfaqih.com
Blog:
obalfaqih.com/blog
Discord:
/ discord
Unity:
unity3d.com
GitHub:
github.com/OBalfaqih/Unity-Tu...
Twitter:
/ obalfaqih
Instagram:
/ obalfaqih
Facebook:
/ obalfaqih
Music:
www.bensound.com

Пікірлер: 44

  • @gillian2438
    @gillian24382 жыл бұрын

    Thanks a lot ! I was struggling with the camera angle, then you talked about the camera offset for each rig and it solved my problem!

  • @hamzzashaffi
    @hamzzashaffi Жыл бұрын

    Walikum Salaam! Thank you so much! :)

  • @searchbandu22
    @searchbandu224 жыл бұрын

    Very Helpful. Thanks for the nice series of cinamachine.

  • @obalfaqih

    @obalfaqih

    4 жыл бұрын

    You're welcome, glad it helped 🙏🏼🤗

  • @anasdev6590
    @anasdev65904 жыл бұрын

    السلام عليكم اخي عمر 🌹❤️ ممكن تنزل لنا شرح أو سلسة تشرح فيها مفصلاً عن اللمس إذا لعبتك للجوال 📱 و كيف يسويه الواحد بنفسه وشكراً الك ❤️🌹😁

  • @obalfaqih

    @obalfaqih

    4 жыл бұрын

    وعليكم السلام ورحمة الله وبركاته في درس عن هذا الموضوع، اتفضل: m.kzread.info/dash/bejne/q5ubu6OOc5DFXcY.html

  • @benmansourmahdi9097
    @benmansourmahdi90974 жыл бұрын

    gg bro

  • @ta7aryatkalb
    @ta7aryatkalb4 жыл бұрын

    🤗🤗

  • @iidanger3157
    @iidanger31574 жыл бұрын

    هذا السكربت ينفع لالعاب الجوال؟

  • @mllelafortune
    @mllelafortune3 жыл бұрын

    Hi Omar, great Cinemachine series ! Thanks for sharing ! I'm starting with the Freelook camera but I was wondering if it would cause issue with the Walk Left and Walk Right animations in the Animator, plugged on a Horizontal parameter as your previous videos show, especially when the character is moving (and turning left and right) towards the camera. Would the character play the right animations or would they be "inversed" (ex : playing left animation while I want to turn right and so on). Just a camera-relative question I guess. Thanks again !

  • @obalfaqih

    @obalfaqih

    3 жыл бұрын

    Hi there, thanks! No, it's not relative to the camera. You'll have to get the camera forward and adjust the parameters accordingly. If you wanna see an example, the Cinemachine package comes with examples, one of them is a playable character that moves according to the camera's forward (or you have the option to do so). Hope that answers your question, thanks again and best of luck!

  • @mllelafortune

    @mllelafortune

    3 жыл бұрын

    @@obalfaqih Thanks, I've downloaded the package to have a look. Unfortunalety, I can't see a proper third-person locomotion with turns. Moreover, but that's just a thought. I know it's not the theme if the video you shared, but their Clear Shots scenes do not act as promised ; that is when the camera is cut, let's say from freelook forward to a platform view, and you are still pressing on the key to move forward, the character does not move relative to previous shot (ie forward becoming a right move) and the character constantly rotates to face camera forward. I really can't see the purpose of using Clear shots if you heritate the same problems as basic virtual camera cuts. Do you have a thought on this? Again, thanks for your help.

  • @nemerkh6360
    @nemerkh63604 жыл бұрын

    قناة جدا رائعة، استغرب من قلة المشاهدات

  • @jayantbarthwal4470
    @jayantbarthwal44703 жыл бұрын

    Hi , sometimes we can see some part of our player while other part is hidden and camera only moves forward when the axis(center , pivot ) of player goes behind a wall , is there any option to fine tune it , i want my camera to move forward even if a single pixel of player goes behind the wall. thankyou.

  • @ysundawa
    @ysundawa3 жыл бұрын

    Wa'alaikum salam warohmatullohi wabarokatuh... thanks for the great tutorial brother :)

  • @obalfaqih

    @obalfaqih

    3 жыл бұрын

    Glad I could help 🙏🏼

  • @Yuri_OxO
    @Yuri_OxO3 жыл бұрын

    شكرا لك اخي تستحق كل الإشادة 👍👍👍

  • @obalfaqih

    @obalfaqih

    3 жыл бұрын

    🙏🏼🙏🏼

  • @blitzkreig4887
    @blitzkreig48872 жыл бұрын

    Is it unwise to use Free Look camera for a Point and Click game ? Can't get it to stay put when i chose targets to go to

  • @LefdecIsHere
    @LefdecIsHere Жыл бұрын

    Hello, good tutorial. I have a question, how can I move the camera only when I am pressing the right mouse? Thank you.

  • @obalfaqih

    @obalfaqih

    Жыл бұрын

    Hi there, thanks! I think you can change the speed or toggle the component whenever you hold the right mouse button.

  • @m1.o2
    @m1.o24 жыл бұрын

    اخي ممكن اعرف كيف اشغل لعبتي لما انهي عملها يعني حتى اعطيها لشخص اخر

  • @thingthing3111
    @thingthing31114 жыл бұрын

    اتمنى انك تنزل شرح كيف تحمل الاشياء مثل الصناديق او الحجارة وترميها وتنكسر

  • @obalfaqih

    @obalfaqih

    4 жыл бұрын

    في واحد عامل درس عن هذا الموضوع، اتفضل: m.kzread.info/dash/bejne/e3mKmJZ8fL3YkZs.html

  • @thingthing3111

    @thingthing3111

    4 жыл бұрын

    شكرا

  • @kyocobran1463
    @kyocobran14633 жыл бұрын

    Oh! It's awesome to run into a Muslim game developer!

  • @SonLatifi1997
    @SonLatifi19973 жыл бұрын

    لو تعرف كيف نضيف مشاهد سينمائية ل اللعبة ياليت تنزل لنا شرح عنه

  • @obalfaqih

    @obalfaqih

    3 жыл бұрын

    هذي من ضمن الخطة ان شاء الله، غالبا الدرس الجاي راح يكون عن ال Timeline وكيف تسوي المشاهد.

  • @user-oo4er7vo4b
    @user-oo4er7vo4b4 жыл бұрын

    اسلام عليكم عمر اتمنا تعمل شرح عن كيفية استنساخ العدو في اللعبه تلقائية يعني انا دخلت اللعبة وقتلت أعداء سوف ينتهون أريد الأعداء لا نهاية لهم ويذهبون إلى اماكن عشوائية ارجوك فا انا احتاج الشرح كثيرا وشكرا

  • @KineticProduction
    @KineticProduction3 жыл бұрын

    Hii how to make this camera set up for Android like fixed touch field because I'm using joystick for Android not for pc please help

  • @obalfaqih

    @obalfaqih

    3 жыл бұрын

    Hey there! You can check these two links out, hopefully they'll help you. gamedev.stackexchange.com/questions/153756/getting-a-cinemachine-freelook-camera-to-work-with-a-gamepadjoystick kzread.info/dash/bejne/i4pprbGTeNavqpc.html Good luck!

  • @-samurai_eddy995
    @-samurai_eddy9954 жыл бұрын

    يا عمر اريد ان اصنع بروجكتر افتركس

  • @obalfaqih

    @obalfaqih

    4 жыл бұрын

    ممكن توضيح اكثر او مثال؟

  • @-samurai_eddy995

    @-samurai_eddy995

    4 жыл бұрын

    @@obalfaqih اريد صنع قوة لللاعب

  • @-samurai_eddy995

    @-samurai_eddy995

    4 жыл бұрын

    @@obalfaqih و اريد ان اكون صديق لك

  • @-samurai_eddy995

    @-samurai_eddy995

    4 жыл бұрын

    @@obalfaqih يا عمر راح ابدا سلسلة برمجة في يونيتي و اريد منك نصائح و ارجو ان لا ازعجك

  • @user-pb1kt2zl5w
    @user-pb1kt2zl5w4 жыл бұрын

    مرحبا صديقي لدي مشكلة عندما اضع plane و اضع الاعب عليه الاعب يسقط في plane و كأنها غير موجودة

  • @obalfaqih

    @obalfaqih

    4 жыл бұрын

    تأكد ان اللاعب + plane فيهم اي نوع من انواع ال colliders عشان يحصل الاصطدام.

  • @aligaming4058

    @aligaming4058

    4 жыл бұрын

    اوك

  • @tablettablet4792
    @tablettablet47924 жыл бұрын

    Hallo, i have a question i always wanted to design a game but dont have any experience with coding. Could you help me. I want to know all the assets i need in unity to fully design a 3d game in unity i know gaia for world building, but dont know the rest like scripting without coding and crowd control. And other assets i need to design a full game.could someone write me a list so i can fully design a game. That would help me very much. Brother omar mag allah bless you

  • @redtiger2526
    @redtiger25264 жыл бұрын

    عمر انت ليه تتكلم انجليزي زمان كنت تتكلم عربي

  • @obalfaqih

    @obalfaqih

    4 жыл бұрын

    تغيير وعشان نفيد اكبر عدد ممكن من الطلاب

  • @redtiger2526

    @redtiger2526

    4 жыл бұрын

    @@obalfaqih Ok كنت فاكر أنك دايمآ راح تتكلم أنجليزي بالرغم أني شفت لك كم من مقطع بالعربي

  • @xzy6954
    @xzy69544 жыл бұрын

    انت عربي