• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
5
Question by Jason Hamilton · Jun 30, 2010 at 01:26 AM · sceneimportmoviecutscene

Movie cutscene how to?

Hey, is it possible to import and movie file and set up a scene like and cutscene, is so how? if not how would I go about getting the same effect?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

5 Replies

· Add your reply
  • Sort: 
avatar image
3

Answer by Persona · Oct 11, 2010 at 01:39 PM

Movie textures if you have Pro edition.

http://unity3d.com/support/documentation/Manual/Video%20Files.html

Otherwise you'll have to wing it. You can set up cutscenes using triggers to activate certain cameras and movements, but I'm no expert in that department.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image cregox · Feb 04, 2011 at 02:44 PM 0
Share

this just doesn't work!

avatar image
1

Answer by Randycooper · Sep 02, 2010 at 01:33 AM

Well If you have Unity 2.6.1 you can not put a movie file in. If you have Unity pro you can if I were you I would put together a ton of pictures and animate them. Like what they do cartoons.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

Answer by name111 · Sep 24, 2010 at 09:24 PM

well sense randycooper says you cant add a video

you could do pictures or create the animation in unity or a similar program like cinema 4d then simply trigger the animation in the game

(although i cant figure out the exporting animation part)

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

Answer by Simon Wittber · Jan 06, 2011 at 04:00 AM

The way we have tackled t$$anonymous$$s problem seems to work well.

Construct your cutscene in a separate level. The level should be built in a special way, so that all the GameObjects in the level are parented under one main GameObject w$$anonymous$$ch has a name like "CutScene1". Make sure all the GameObjects are in a layer called "CutScene". When the level loads, it should automatically start playing the animations, moving its camera, etc. The camera should only render objects on the CutScene layer.

Then, in your game world level, set t$$anonymous$$ngs up so you can call LoadLevelAdditive("CutScene1") when needed. When it has loaded, set the new cut scene camera to render over your game world, and toggle your AudioListener components if required. When the cutscene finishes, make sure you clean up by destroying the "CutScene1" root GameObject, and your game world level should be left untouched.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by dimmduh · Nov 13, 2013 at 02:55 PM

You have to convert you video to Theora format (ogv)

 using System;
 using UnityEngine;
 using System.Collections;
  
 [RequireComponent(typeof(AudioSource))]
 public class ATest : MonoBehaviour
 {
     protected MovieTexture movieTexture;
     protected bool streamReady = false;
  
     void Start ()
     {        
         StartCoroutine(StartStream(@"file://C:/video.ogv"));
     }
  
     protected IEnumerator StartStream (String url)
     {
         WWW videoStreamer = new WWW (url);
         movieTexture = videoStreamer.movie;
         audio.clip = movieTexture.audioClip;
  
         w$$anonymous$$le (!movieTexture.isReadyToPlay) {
             yield return 0;
         }
  
         audio.Play ();
         movieTexture.Play ();
 
         streamReady = true;
     }
  
     void OnGUI ()
     {
         if (streamReady) {
             int width = 100;
             int height = 100;
             
             
                     GUI.DrawTexture (new Rect (0, 0, width, height), movieTexture);    
 
         }
     }
 }
Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Related Questions

How to Play a Movie in Unity 0 Answers

How do I make this small somewhat cutscene? 1 Answer

show a movie intro before game? 1 Answer

import SceneMangement not working? 1 Answer

How to Make a cutscene? 3 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges