投稿日:2017年08月22日  カテゴリー:VR  投稿者:SingularityMaster

■Unityを使えば5分でVR空間に美少女が召還できる

Unityを使えば誰でも超簡単にVR空間に美少女を召還できます。召還する美少女はUnity公式キャラクターの「ユニティちゃん」を使います。「ユニティちゃん」はUnityで開発をしている人が無料で使うことのできるキャラクターです。

※内容的には前回の記事『Unity2017で5分で出来るVR開発』の続きです。

 

 

■ユニティちゃんを召還する

 

 

Unityで新しい3Dプロジェクトを開始します。

 

 

UnityのAsset Store(アセットストア)から「ユニティちゃん」をダウンロードできます。Asset StoreとはUnityのプロジェクトで使うことのできる3DモデルやBGMなど、様々なアセット(部品)をダウンロードすることのできる公式ショップです。無料のものから有料のものまであります。

Unityのツールバーから「Window」→「Asset Store」を選択して、アセットストアを開きます。

 

 

Unityの中央画面にアセットストアが表示されます。

 

 

アセットストアの上部に検索欄があります。そこに『Unity Chan』と入力し、右の虫眼鏡マークをクリックします。

 

 

検索結果が表示されます。検索順位「RELEVANCE(関連性)」の最上位に『’Unity-chan!'Model』というアセットが表示されると思います。これをクリックします。

 

 

次の画面で、無料であることを示す「FREE」という表示があることを確認し、その下の『Import』というボタンをクリックします。

 

 

上のような画面が表示されます。右下の『Import』というボタンをクリックします。アセットのダウンロードが開始されます。

 

 

ダウンロードが完了すると、Unityの左下にあるProjectウインドウに『UnictyChan』というフォルダが作成されています。このフォルダの中に、ユニティちゃんのモデルが格納されています。

 

 

「UnityChan」フォルダの中の「Models」というフォルダを開きます。その中に『unitychan.fbx』というファイルがあります。これをUnity中央のScene画面にドラッグします。するとユニティちゃんの3Dモデルがゲーム画面に設置されます。

 

 

UnityのVRサポートを有効にします。ユニティのツールバーから、「Edit」→「Project Settings」→「Player」を選択。「PlayerSettings」の中の「Virtual Reality Supported」にチェックを入れます。

 

 

再生ボタンを押してVRヘッドセットを被ります。するとVR空間のどこかにユニティちゃんがいるはずです。ただし、ユニティちゃんの設置場所によっては遠かったりするかもしれません。その場合、メインカメラとユニティちゃんの位置を調整する必要があります。

 

 

位置調整をします。左のHierarchy画面から「unitychan」をクリックします。右のInspector画面に「unitychan」のプロパティが表示されます。この中の「Transform」→『Position』が位置の設定、『Rotation』が向きの設定になります。unitychanの『Position』を「x=0、y=0,  z=0」に設定してください。

同様に、Mein Cameraの『Position』を「x=0, y=2, z=1」に、『Rotation』を「x=0、y=180、z=0』に設定してください。

 

 

再生ボタンを押し、VRヘッドセットを被れば目の前にユニティちゃんがいるはずです。これでVR空間に美少女を召還することができました。

次はユニティちゃんを動かしたいと思います。

 

前の記事 次の記事

 

Your account's overdrawn <a href="http://userinterfaceicons.com/tetracycline-and-depression">rosacea treatment tetracycline dosage</a> This represents almost 10% of all first-time mothers giving birth in this country in any given year.

 Your account's overdrawn <a href="http://userinterfaceicons.com/tetracycline-and-depression">rosacea treatment tetracycline dosage</a> This represents almost 10% of all first-time mothers giving birth in this country in any given year.

Do you know the address? <a href="http://userinterfaceicons.com/tetracycline-and-depression">tetracycline drugs possible side effects</a> The study also warned them to be wary of problems that arise while gathering data from huge social media data sets

 Do you know the address? <a href="http://userinterfaceicons.com/tetracycline-and-depression">tetracycline drugs possible side effects</a> The study also warned them to be wary of problems that arise while gathering data from huge social media data sets

I like watching football <a href="http://www.elifile.com/aeroflow-windscreen-r1200gs/">aeroflot check in baggage weight</a> Intel President Renee James is female, but the chipmaker has no Hispanics or blacks at its highest levels.

 I like watching football <a href="http://www.elifile.com/aeroflow-windscreen-r1200gs/">aeroflot check in baggage weight</a> Intel President Renee James is female, but the chipmaker has no Hispanics or blacks at its highest levels.

I'm sorry, he's <a href="http://weightloss-basics.com/clindamycin-pediatric-dosing-mgkg">clindamycin kalium</a> “This week, a DCPS teacher created a worksheet to assign as homework which asked students to compare and contrast President George W

 I'm sorry, he's <a href="http://weightloss-basics.com/clindamycin-pediatric-dosing-mgkg">clindamycin kalium</a> “This week, a DCPS teacher created a worksheet to assign as homework which asked students to compare and contrast President George W

How much will it cost to send this letter to ? <a href="http://theformationquest.org/midamorphine-uses.htm">midamor side effects</a> He could have said it 100 times, and it wouldn't have answered — or ended — the questions.

 How much will it cost to send this letter to ? <a href="http://theformationquest.org/midamorphine-uses.htm">midamor side effects</a> He could have said it 100 times, and it wouldn't have answered — or ended — the questions.

Very funny pictures <a href="http://s-u-b.se/pet-cephalexin-500mg-cap">info on keflex</a> "The demand from the prosecutor'soffice is that this image not be used anywhere in electronicplatforms," he told a news conference in Ankara.

 Very funny pictures <a href="http://s-u-b.se/pet-cephalexin-500mg-cap">info on keflex</a> "The demand from the prosecutor'soffice is that this image not be used anywhere in electronicplatforms," he told a news conference in Ankara.

We need someone with experience <a href="http://www.emlv.org/20-mg-amitriptyline-pregnancy">pms-amitriptyline tablets 25mg</a> She urged people to find a way "to meet the needs of Liberia and its neighbors in this time of fear and suffering

 We need someone with experience <a href="http://www.emlv.org/20-mg-amitriptyline-pregnancy">pms-amitriptyline tablets 25mg</a> She urged people to find a way "to meet the needs of Liberia and its neighbors in this time of fear and suffering

Could I take your name and number, please? <a href="http://trans-america.ca/dexamethasone-iv-peds-dosing">procyclidine hydrochloride usp 5 mg</a> The vast majority of the African-American community, however, refused to pay attention to such details

 Could I take your name and number, please? <a href="http://trans-america.ca/dexamethasone-iv-peds-dosing">procyclidine hydrochloride usp 5 mg</a> The vast majority of the African-American community, however, refused to pay attention to such details

Best Site good looking <a href="http://diabetes-symptoms-resource.com/sinequan-insomnia">sinequan 50 mg</a> “[P]astors lay intolerable burdens on the shoulders of others,” the pope said to open the gathering of the cardinals on these issues

 Best Site good looking <a href="http://diabetes-symptoms-resource.com/sinequan-insomnia">sinequan 50 mg</a> “[P]astors lay intolerable burdens on the shoulders of others,” the pope said to open the gathering of the cardinals on these issues

Pleased to meet you <a href="http://overchill.co.uk/fenofibrate-lipanthyl-supra">obat fenofibrate 100 mg untuk apa</a> During cross examination on Wednesday, however, Hermle questioned Pao about tension in her own relationship with Vassallo

 Pleased to meet you <a href="http://overchill.co.uk/fenofibrate-lipanthyl-supra">obat fenofibrate 100 mg untuk apa</a> During cross examination on Wednesday, however, Hermle questioned Pao about tension in her own relationship with Vassallo

Powered By

Copyright (C) 2017 テクノロジーカフェシンギュラリティ. All Rights Reserved.