Cinemachine - Camera Follow | Unity
Вставка
- Опубліковано 14 лип 2024
- Create your own Unity short film:
courses.obalfaqih.com/courses...
Cinemachine - Camera Follow | Unity
Need help? Book a consultation session now:
store.obalfaqih.com/products/...
In this Unity tutorial, I will give you a short brief and intro to Cinemachine, and we'll make the camera follow the player without a single line of code!
Chapters
00:00 Intro
00:40 Installing Cinemachine
01:00 Create a Virtual Cam (VCam)
02:00 VCam Setup
03:18 VCam Zones
04:25 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:
bensound.com
I've just released a new update for my Unity tool, OB - Object Placer:
ua-cam.com/video/EBc_-5vQUZU/v-deo.html
And I created a cinematic promo:
ua-cam.com/video/LFBY2R_MudI/v-deo.html
You can get it here:
assetstore.unity.com/packages/tools/utilities/ob-object-placer-181373
ما صدقت أني احصل عربي بهذا المستوى من الخبرة يشرح يونتي 3D وعلى الماك بعد
شكرا لك شكرا لك 🙏
واصل يا مبدع
شكراا لك وان شاء الله قدرت افيدك ولو بمعلومة🙏🏼🙏🏼
Great tutorial man. I love how simple this was. Awesome stuff.
Hey thanks! Appreciate it🙏🏼
Yeah he was really so good at explaining
The best video about camera!
your tutorials are awesome dude!
Thanks, you’re awesome 🙏🏼 😎
Perfect! TY!!
Short and useful, like a well trained rescue corgi.
thanks for the tutorial !
🙏🏼🙏🏼
sick dude. i needed a camera for my 3d platformer.
Hopefully there are more cinemachine tutorials to come👌🏻
Yeah, see thank you! Just been having an overwhelming day, thank you for not flexing your C# skills on a 14+ minute video for something that can be explained without C# in less than 5 minutes.
🙏🏼🙏🏼🙏🏼
flixportal :P
same thoughts haha
great tutorial, thx bro
Glad it helped 🙏🏼
Thank you my brother. It is very helpfull.
🙏🏼🙏🏼
thank you for the tut, is is very good!
Thanks! Glad you found it helpful 🙏🏼
I'VE BEEN LOOKING FOR THIS FOR MONTHS NOW AND *_NOW_* I GET ALL THESE VIDEOS IN MY RECOMMENDED???????
Very helpful thx
جزاك الله خيرا اخي
Thanks a lot!
thank you
Thanks for your
Great tutorial! Thanks.
I have a small question. Do you know if is there any way to let my cinemachine camera follow my player just on Y axis? Thanks!
Thanks !
You're welcome!
Thanks bro
THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
You’re welcome!!!!! 😁🙏🏼
Love you man!
🙏🏼🙏🏼🙏🏼
I ve heard cinemachine before, but i didnt think it would help me follow the player so i was trying write the same f.king code for camera to follow player :7 Ty it was really helpful
Hahaha yeah it’s really a great feature, you can do a lot with it without a single line of code 🤯
عجيب هذا شرحك؟؟
والله ما شاء الله مبدع احسبك واحد اجنبي
لين انتبهت من التعليقات
Thank you man for thr guide i just almost finish my little game and i hate myself because the camera
ههههه يعطيك العافية الله يسعدك 🙏🏼
بالتوفيق يارب، وعيدك مبارك 🎉
@@obalfaqih
الله يعافيك ينعاد علينا وعليك يالصحة والسلامة
Ma Sha Allah
Thanks :)
🙏🏼🙏🏼
Problem I run into is the movement forward isn't the direction of the camera.. When I do it myself using Input, I can do that, but for some reason with Cinemachine, I have to hit down for the character to turn back and walk that way. I'd expect it to walk backwards instead. What am I missing?
شكرا
السلام عليكم ورحمة الله وبركاته مشكور جدا على مجهودك أخي عمر نتمنى تعمل كورس unyti من الصفر حتى الاحتراف وشكرا لك
وعليكم السلام ورحمة الله وبركاته
في دروس لتعليم الاساسيات الى تعليم تطوير لعبة بسيطة، اتفضل:
سلسلة اساسيات محرك يونيتي
m.ua-cam.com/play/PLaqp5z-4pFi4UgNoCVqFHnRwC8_1JR-Lk.html
سلسلة أساسيات البرمجة ua-cam.com/play/PLaqp5z-4pFi5vg_Vx54R2DYVePrBZOVe3.html
سلسلة تطوير لعبة بسيطة ua-cam.com/play/PLaqp5z-4pFi4ZyzcMoGvGkqrY2gnYTJPI.html
سلسلة تصدير اللعبة الى الاندرويد (مع إضافة خاصية الشراء)
m.ua-cam.com/play/PLaqp5z-4pFi76MJHyETmFXWRRyNtbV6Oz.html
تحياتي، واتمنا لك كل التوفيق
@@obalfaqih وفقك الله أين ما اتجهت
I want to be able to rotate my camera view with right click, is there a video about that?
can you make video for the most commands I have to learn...or (if you can) make tutorial cycle ....
And thanks for everything 🙂
You are great 👍
Because I can’t watch foreigners videos ...
It’s in English !
I don’t understand them clearly!
ثبتها من الباكج مانجر.لكنها لم تظهر اعلى الشاشه عند قائمه Tools Window مالسبب؟
عمر i need Cinemachine ما لقيتها في الستور
شكرا+ ممكن تسوي شروحات لعمل لعبة رعب مثل granny او لعبة رعب فقط :)
Thank you!! My virtual camera is shaking based on walking animation of character, how to make it smooth, please help me..
You're welcome! 🙏🏼
Is it the same as 2:50?
If that's the case, try to increase the damping for each parameter.
Damping will make the movement smoother and it will take longer for the camera to move and adjust.
Hope that solves it.
Good luck!
look bracekeys tutorial
\bracekeys is the best channel on youtube about developing games ok !!!!
Your accent is astonishing bro
I like
if i have a prefab, i want to use cinemachine, is it possible to feed cinemachine variables lookat and followat automatically?
did you figure this out i have the same problem
@@alexioplexio i figure out it's not possible. But I'll show you in my channel this week
when I put the player to "follow" and "look at" in the cinemachine properties this "works" in the game window, but when I press play, the main camera does not follow the cinemachine camera. Help:(
Maybe you have more than one camera. If that’s the case, then either increase your current cinemachine camera priority, or disable the other one.
Another issue might be that the target of the player you set isn’t moving, only the player’s model.
تنصحني بالدورات المدفوعة لتعلم يونتي؟ اكو شخص اسمه faisal dev عربي سوه دورة ب100 دولار شنو رائيك اشترك بدورة مدفرعة لو المجانيات تكفي؟
اتأكد من محتوى الدورة ومستواك الحالي، غالبا تكون الدورات مفيدة. صحيح في دروس مجانية كثيرة ولكن في نفس الوقت المدفوعة برضه مفيدة. في النهاية القرار لك وعلى حسب الدورة وخبرتك.
عمر ممكن تعمل اضافة انيميشن للاندرويد مثل عندما احرك جويستيك يقوم بحركة المشي walking و عندما اتوقف عن تحريكها يعود الى حالته الطبيعية (واقف idle)
عملت درسين من قبل، هذا درس الجويستيك:
m.ua-cam.com/video/yggYAUC-_-c/v-deo.html
وهذا درس الحركة:
m.ua-cam.com/video/U0dlWhB_e0E/v-deo.html
تحياتي
@@obalfaqih شكرا
nice thk
You're welcome! 😉
Unity 4 or unity 5???
ممكن تعمل ركوب و نزول من السيارة زي gta او ببجي pubg
Walaikumsallam
can i use it for photon multiplayer?
I think you can, since it's still using default camera in a way.
@@obalfaqih thank you man this saved me!!!
I like you
ممكن تعمل قائمة اختيار سيارات او الشخصيات
اتفضل، هذي مجموعة دروس منوعة عن الواجهات والقوائم - UI
m.ua-cam.com/play/PLaqp5z-4pFi5pm1iOj_EmGAvQSUj-YPpy.html
@@obalfaqih شكرا
my character turn with mouse. so i dont know why but my camera turn so fast when my character turn. can you help? how can i more slow this camera?
Try modifying the damping values, these values will affect how fast the camera will follow/rotate with the player.
@@obalfaqih thank you. i have a question again. i dont want to turn this camera? is it possible?
Yes, you can make only follow the player without rotating. In the Cinemachine virtual component, just assign the player as a Follow target. And set the aim target to none. It shouldn’t look at the player then.
@@obalfaqih ohhh thans again. good work💪
It works but The camera won't rotate
السلام عليكم
عندي لعبة وانتهيت من الشغل عليها واذا جيت ارفع حزمة ال apk او abb يرفضها
هل في اعدادات خاصة لازم اسويها؟
مع العلم ان Ndk مو مثبته
وعليكم السلام ورحمة الله وبركاته
ايش الرسالة الي تطلع؟
يمكن حجم الملف كبير
@@obalfaqih
You uploaded an apk or android abb Bundle that was signed in debug mode. You need to sign your Apk ir android abb Bundle in release mode.
حجمها ٤٠ ميغا بس
الرسالة تقول انه التصدير كان debug، يعني اصدار تجريبي. لازم يكون release.
اتفضل، يمكن يفيدك:
answers.unity.com/questions/1096300/hello-i-have-a-big-probleme.html
@@obalfaqih
شكراً شكراً شكراً
طلعت المشكلة في ال key
@@user-ie7rx8dq4h ويش اسم العبه
whats the difference in using this instead of a third person camera?
You've got more control with Cinemachine. A lot of features that you can use and modify without the need to write any code yourself.
@@obalfaqih will i still be able to move the camera with the mouse?
Yes, you can use the free look camera. This is a tutorial from Unity:
m.ua-cam.com/video/X33t13gOBFw/v-deo.html
الله يخليك يا عمر تكفى
دحين السينماشين لو اللاعب اختفى او مات و تم استدعاءه
اللاعب بيختفي من مركب السينماشين والصورة حتوقف !!!!!!؟
لو كان اللاعب يرجع بنفس الوقت من غير ما تعيد المرحلة، ما راح تحذف اللاعب.. بس تغير موقعه
hey, please i wanna downoad the playerobject (the guy)
He comes with the Cinemachine package. You can import the example scenes by clicking on that button in the package manager.
forum.unity.com/proxy.php?image=https%3A%2F%2Flh6.googleusercontent.com%2FQ_MNA_I5pCmX2vr8wask9QT9VAXEWNCs5P283wBpgKTHvImCvnzInF26VL_O_QxKPE9AFd7P_Y0r3MOeRRxNRs4QSKx74xA5VkkcTjaATC5SSO7Zdu3FpQyL7ds14o5IEeG0ZbWV&hash=6b58cc290a430937e6028df2b91b91ae
brother thank's for our videoes pleasse i need tutorial about matchmaking like pubg or free fire signup and make match with player thank's again
Hi there, thanks for your comment.
Maybe in the future but not now since the focus of current tutorials is not on multiplayer games. For now, you can check this tutorial:
m.ua-cam.com/video/SNhWbHqFUbU/v-deo.html
Unity released an FPS multiplayer game a while back, you can check this out:
m.ua-cam.com/video/aTnBAzin9vE/v-deo.html
Good luck and all the best brother!
Waalaikum Salam
Salam aleykom. thank you for this video
Walaikum assalam, you're welcome! 🙏🏼
ممكن تعمل درس الهاتف زي gta v اعمل اتصال باكواد الغش و الكاميرة 📷
فيديو سهل لأفهم
😁👍🏼
اخي عمر كيف احمل mono development و اشغلو علي unity
الإصدارات الأخيرة من Unity صارت تجي مع Visual Studio Community
@@obalfaqih شكرا
مرحبا اخي عمر
انا مبتدئ في هذا المجال وانا اعشق تصميم الألعاب
هي ليست هواية لا بل حلم ..
لا أعلم كيف ابدا وكيف اتعلم
و أوجه مشكلة في البرمجة كيف اتعلمها بشكل كامل في هذا المجال ولا اجد دروس كاملة شاملة عربية
هل تستطيع مساعدتي ولك جزيل الشكر 🌷
اهلين فيك اخي،
في القناة في دروس من اساسيات البرمجة الى تطوير لعبة بسيطة.
- دروس قديمة لأساسيات المحرك:
m.ua-cam.com/play/PLaqp5z-4pFi4UgNoCVqFHnRwC8_1JR-Lk.html
- اساسيات البرمجة:
m.ua-cam.com/play/PLaqp5z-4pFi5vg_Vx54R2DYVePrBZOVe3.html
- تطوير لعبة بسيطة:
m.ua-cam.com/play/PLaqp5z-4pFi4ZyzcMoGvGkqrY2gnYTJPI.html
وبإذن الله حلمك بيتحقق ان شاء الله، اتمنى لك كل التوفيق🤗
ياخي فينك من زمان
مافي احد يشرح عن تصميم الالعاب بالعربي
😁🙏🏼
Subtitel indonesia bro pliese
Inshaallah I’ll add bahasa malayu/Indonesian in the upcoming tutorials.
helo im malaysia im so noob play unity and assalamualaikum
Wa alaikum asalam 👋🏼
wow ur arabic!
✌🏼😁
عربيييييي شن الامور