How to Inspect Items and Objects! (Rotate around 3D Mesh, Inventory, Unity Tutorial)

preview_player
Показать описание
👍 Learn to make awesome games step-by-step from start to finish.

🔴 RELATED VIDEOS 🔴

💬 Let's make an Item Inspect System!
This is the kind of thing you see in many games where you have some sort of inventory and you have a separate view to look at the object's 3D mesh, you can rotate around and look at it from any angle.
It's relatively easy to do and adds a nice extra bonus to your Inventory System.

🌍 Get Code Monkey on Steam!
👍 Interactive Tutorials, Complete Games and More!

If you have any questions post them in the comments and I'll do my best to answer them.

See you next time!

#unitytutorial #unity3d #gamedev

--------------------------------------------------------------------
Hello and Welcome!
I'm your Code Monkey and here you will learn everything about Game Development in Unity using C#.

I've been developing games for several years with 8 published games on Steam and now I'm sharing my knowledge to help you on your own game development journey.

I do Unity Tutorials on just about every topic, Unity Tutorials for Beginners and Unity Tutorials for Advanced users.

--------------------------------------------------------------------
- Other great Unity channels:
--------------------------------------------------------------------
Рекомендации по теме
Комментарии
Автор

You have no idea how much i needed this i looked other tutorials but they're complicated and don't explain well thank you soo much

styliejoker
Автор

I am beginning to think CM is looking at my search history because I was JUST looking for a good tutorial on 3d item inspection this morning. 😂 Thanks so much Code Monkey! :D

ShiftClickLearn
Автор

An important thing I would like to point out is to remember to unsubscribe from the event, to avoid memory leaks. It could be done in the OnDestroy method.

davidwusoftdev
Автор

For anyone using this method, please be aware of Gimbal Lock.
When rotating using Eulers instead of Quaternions you run into a situation where two axis can 'collide' and you lose a degree of freedom. This is what happens when I implement the code seen in this video.
The reason is a bit long (you can have multiple incorrect axis rotations for the same desired rotation) but because Quaternions use 4 values to determine rotation you don't run into this issue.

NoTimeLeft_
Автор

I just found your channel recently and i am baffled, not just because your videos are great but that is so satisfying to me how you arange your code. I mean i can read code and follow a tutorial without problems if the brackets are not there where i would place them, but it is so fucking awesome if you find a tutorial that aranges the code the same way you did. I have no words how great this is and how happy i am with that. Thank you very much!

jankersten
Автор

Render Texture is becoming as powerful as the Unity's Particle System. Very cool.

freezinfire
Автор

Omg thank you so much. I didn’t know how to describe this kind of rotation and I couldnt find any material on rotating an object using the mouse.

Killerkraft
Автор

Very nice implementation! Also, don't forget to unsubscribe from events to prevent memory leaks.

revraitah
Автор

I always wanted to know how that actually works thanks
awesome tutorial

ggre
Автор

Very top Code Monkey, your tutorials
help a lot. Congratulations

CarlosMagno-hpbo
Автор

LOVE IT! one more step to custom characters!

eddyrc
Автор

Guys, please tell where can i read about syntax that used here 4:20 at line 10. Cause I dont even know what i need to ask in Google)

Wilhelmification
Автор

I think instead of destroy the game object .. set active and and deactivate is a a less processing idea

parasgoyal
Автор

What version of Unity are you using in this video?

eduardorpg
Автор

Never thought of that way on creating this! Is like I said you really are a legend!
Btw! I already did your character in-game! And mannn, it looks like you hahah
Is there any way I can show you? E-mail/twitter?
Thank you once again!

NationStudios
Автор

if you wanted to have items that you can also interact with, like opening a box in the resident evil games, could you do it also with the event handlers in the same script (and maybe a ray traced from that camera)? Or it wouldn't be possible because you are using a rendertexture? In that case, would there be a way or would it be better to redo it without a render texture?

DavidRodriguez-jrfd
Автор

Nice Tutorial, I want to adjust "orthographic.size = any 3d mesh Fit size", can you help me with this please?

violentgamer
Автор

One suggestion… it seems no one makes tutorial content with gamepads in mind. For me I have no interest in only doing desktop games (because I never play desktop games). Also I can’t find much/any content on navigating UI with gamepads and the new input system.

alekjwrgnwekfgn
Автор

Hi CodeMonkey, I was wondering how I could implement this like Minecraft, which renders blocks as isometric icons, but I have a concern: Too many Cameras is no good for Performance.
Is there maybe another way to do this?
Thanks, love your videos!

codeshelldev
Автор

that's a cool mechanic to use in inventory but is there any way to set animation evry time the item change? like small swap or big cyckle effect?

jozimastar