- Home /
Interactive film with Unity
I would like to develop interactive film and full motion video game. Just for understanding that what exactly I want to do, I give you examples.
Something like late shift please jump to 6:22 so players can choose the story. Another example is hardline please jump to 7:22 so players can click on specific place and then continue of the film.
Is this possible in unity? If yes, do I have to use a 2d or 3d project?
Any help will be appreciated
Answer by DaDonik · Jan 31, 2020 at 01:21 PM
Is this possible in unity?
Yes
Do I have to use a 2d or 3d project?
That doesn't matter. By choosing 2D or 3D on project creation, the default Scene gets a different camera setup. There is nothing preventing you from having several cameras, like one for 2D and one for 3D.
What i would try:
Setup a 3D project.
Create a RenderTexture in your project folder.
Write some code using the VideoPlayer API, to render a video to the RenderTexture you created.
Create a 3D plane and add a material to it.
Assign your render texture to the material.
Alternatively i assume you can also use the RenderTexture for a UI Canvas, so the movie is always perfectly aligned with the screen, just like a normal movie would be.
So now you can have your movie playing on any 3D object, just by assigning it your material with the RenderTexture. From there on you can do whatever you want. Have fun =)
Your answer
Follow this Question
Related Questions
getting udp package info inside unity (GlovePIE) 0 Answers
Reaction game?? 0 Answers
Some Ideas please? 1 Answer
loading progress scene slows down game framerate 1 Answer
Need Help making a simple game! 2 Answers