Hi! I’m new to Unity and using it for a uni class final (and have less than 2 weeks to learn unity T_T) in which the goal is to create a VR space that can be experienced via an Oculus Headset. The space is made with blender objects, and I’m running into a couple of technical issues with the application of my textures which are 2d animations in mp4 format. My following questions are:
- How can I layer various animations on a specific blender object face? (Think a text animation on top of a drawing of bubbles that is animated, with the background being a color gradient animation)
- How can I get Unity to apply animations on only one face of a complex object/ how can I get Unity to recognize faces of a complex object so I can apply animations to specific faces and not the entire object?
- I need to add a interactable 3d object to the scene (a bottle) and it has a cap, how can I make the object interactable and hopefully the cap as well, so that in theory it could be twisted off, and make Unity understand that the bottle and cap are 2 joined objects that can only be separated when they are interacted with?
- Is it possible to create interactable liquid in aforementioned bottle? So that maybe if it is interacted with it can be poured out of the bottle?
- My bottle has a label that is a part of the 3d object- how can I import an image and limit to only the label space on the bottle and make sure it stays in that position when the bottle is moved/interacted with?
- How can I add mp3 files and sequence it to specific moments in aforementioned animations?
Any and all help is appreciated, I’m really in a pickle right now with my very limited knowledge of unity.
Below are the blender files of the objects I’m talking about in my questions:
Blender Object Files
You have a ton of “is it possible” questions. The answer to “is it possible” is almost always YES, as long as what you contemplate is within the bounds of the time-space continuum and the various laws of thermodynamics.
- For the 2D visual effects, get busy with tutorials on either shader graph or layering different materials over each other, either with a blending shader of some kind or separate plains overlaying each other with transparency. One or more of those materials might be your video feed. Generally video does NOT have transparency.
NOTE: Video is ALWAYS extremely fiddly under any development environment. Unity is no exception. Formats and codecs need to be just-so or else there will be issues.
-
To apply something to one face, make the 3D object either with that face a separate object entirely, or at a minimum as a separate material in Blender, which will import as a separate submesh.
-
I won’t even try to answer how to make interactable stuff in VR. There’s at least ten billion tutorials out there, so start with three or four of those.
-
Liquid in a bottle: yes it is possible, there are ways to get an effect like this. Hurry over to tutorials.
-
Labels are generally identical to separate material approach in #2 above.
-
MP3 files import as audio. Hurry to audio tutorials for that stuff.
Two steps to tutorials and / or example code:
- do them perfectly, to the letter (zero typos, including punctuation and capitalization)
- stop and understand each step to understand what is going on.
If you go past anything that you don’t understand, then you’re just mimicking what you saw without actually learning, essentially wasting your own time. It’s only two steps. Don’t skip either step.
Imphenzia: How Did I Learn To Make Games:
Thank you thank you thank you!!!
I will hop right to it and hopefully that will solve all my problems 