投稿日: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空間に美少女を召還することができました。

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

 

前の記事 次の記事

 

I'd like to open a business account <a href="http://henleyoperatic.co.uk/comprar-keppra-venezuela">lek keppra cena</a> Most of the bonds have short durations, with the average maturity of just over three years, indicating a generally defensive posture.

 I'd like to open a business account <a href="http://henleyoperatic.co.uk/comprar-keppra-venezuela">lek keppra cena</a> Most of the bonds have short durations, with the average maturity of just over three years, indicating a generally defensive posture.

How much were you paid in your last job? <a href="http://hestelav.dk/generic-dutasteride/">online dutasteride</a> “Because I don’t think that that, in and of itself, made these two guys a great coach and a great quarterback

 How much were you paid in your last job? <a href="http://hestelav.dk/generic-dutasteride/">online dutasteride</a> “Because I don’t think that that, in and of itself, made these two guys a great coach and a great quarterback

What do you do? <a href="http://italiannetwork.co.uk/amantadine-and-h1n1">amantadine and dogs</a> It is their pitching that is going to carry them and, with the faded Sabathia in question and their No

 What do you do? <a href="http://italiannetwork.co.uk/amantadine-and-h1n1">amantadine and dogs</a> It is their pitching that is going to carry them and, with the faded Sabathia in question and their No

What do you study? <a href="http://harpnfiddle.org/indomethacin-50-mg-tablets.html">indocin side effect</a> They’re all individuals, so it’s nice that it doesn’t look too uniform.”

 What do you study? <a href="http://harpnfiddle.org/indomethacin-50-mg-tablets.html">indocin side effect</a> They’re all individuals, so it’s nice that it doesn’t look too uniform.”

I'm a housewife <a href="http://www.kopekoteli.com.tr/pletal-100-fiyati">pletal and plavix</a> That was one of many reasons the locker room door remained closed after the game for at least 10 extra minutes, as players discussed the disaster.

 I'm a housewife <a href="http://www.kopekoteli.com.tr/pletal-100-fiyati">pletal and plavix</a> That was one of many reasons the locker room door remained closed after the game for at least 10 extra minutes, as players discussed the disaster.

Could you tell me the number for ? <a href="http://voyagermagazine.com.au/price-of-bimatoprost-in-canada/">bimatoprost online cheap</a> Unfortunately, the reporter did not use the full statement I provided him regarding this item

 Could you tell me the number for ? <a href="http://voyagermagazine.com.au/price-of-bimatoprost-in-canada/">bimatoprost online cheap</a> Unfortunately, the reporter did not use the full statement I provided him regarding this item

I'd like to cancel a cheque <a href="http://www.custom-creations.org/i-give-bentyl-iv">bentyl drug class</a> So the campaign is pressuring the industry to work with them to develop better housing policy and solutions

 I'd like to cancel a cheque <a href="http://www.custom-creations.org/i-give-bentyl-iv">bentyl drug class</a> So the campaign is pressuring the industry to work with them to develop better housing policy and solutions

Would you like a receipt? <a href="http://hestelav.dk/zydena/">udenafil zydena</a> But they need the politicalmonkey off their back in order to do their jobs professionally,independently and with transparency," he said.

 Would you like a receipt? <a href="http://hestelav.dk/zydena/">udenafil zydena</a> But they need the politicalmonkey off their back in order to do their jobs professionally,independently and with transparency," he said.

I work for a publishers <a href="http://www.ehsandiary.ir/generic-rogaine-target/">minoxidil 5 rogaine foam</a> He heard about the FXFL on Twitter and through his agent and accepted the opportunity to join the Bolts in July.

 I work for a publishers <a href="http://www.ehsandiary.ir/generic-rogaine-target/">minoxidil 5 rogaine foam</a> He heard about the FXFL on Twitter and through his agent and accepted the opportunity to join the Bolts in July.

I've lost my bank card <a href="http://livingwitharthritisinfo.net/harga-colchicine/">harga colchicine</a> You’d really have to slow down the movie on your PVR to absorb the subtext properly, though

 I've lost my bank card <a href="http://livingwitharthritisinfo.net/harga-colchicine/">harga colchicine</a> You’d really have to slow down the movie on your PVR to absorb the subtext properly, though

Powered By

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