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

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

 

前の記事 次の記事

 

We used to work together <a href="http://www.stonematrix.com/onde-comprar-bepantol-liquido-mais-barato.html">dicyclomine 10 mg generico</a> Relations between Mason and Patrick Ewing, never smooth, got worse after Riley left for Miami

 We used to work together <a href="http://www.stonematrix.com/onde-comprar-bepantol-liquido-mais-barato.html">dicyclomine 10 mg generico</a> Relations between Mason and Patrick Ewing, never smooth, got worse after Riley left for Miami

On another call <a href="http://cityweddings.co.uk/buy-beconase-uk/">beconase aerozol cena</a> He is now going to school and she hopes he will use his education to find a better life outside the camp one day

 On another call <a href="http://cityweddings.co.uk/buy-beconase-uk/">beconase aerozol cena</a> He is now going to school and she hopes he will use his education to find a better life outside the camp one day

i'm fine good work <a href="http://zhidan.org/can-you-take-zyrtec-after-eating">cheapest zyrtec</a> Jets DT Sheldon Richardson found out it’s hard to get Pro Bowl votes playing for a crummy team

 i'm fine good work <a href="http://zhidan.org/can-you-take-zyrtec-after-eating">cheapest zyrtec</a> Jets DT Sheldon Richardson found out it’s hard to get Pro Bowl votes playing for a crummy team

Looking for work <a href="http://comfortwoodcottage.co.uk/nasonex-spray-active-ingredient">nasonex nasal spray buy online</a> Just hours later on Friday and after days of discussion the festival board decided to do just that.

 Looking for work <a href="http://comfortwoodcottage.co.uk/nasonex-spray-active-ingredient">nasonex nasal spray buy online</a> Just hours later on Friday and after days of discussion the festival board decided to do just that.

I need to charge up my phone <a href="http://zhidan.org/can-you-take-zyrtec-after-eating">dosage of zyrtec in dogs</a> "We think there will be more troublewhen the intentions of Mr Kabila and his possible successorsbecome clearer."

 I need to charge up my phone <a href="http://zhidan.org/can-you-take-zyrtec-after-eating">dosage of zyrtec in dogs</a> "We think there will be more troublewhen the intentions of Mr Kabila and his possible successorsbecome clearer."

I've come to collect a parcel <a href="http://www.stonematrix.com/buy-bactrim-sulfamethoxazole.html">bactrim forte use</a> Shareholders are justifiably concerned that Tesco has misrepresented its earnings resulting in material losses

 I've come to collect a parcel <a href="http://www.stonematrix.com/buy-bactrim-sulfamethoxazole.html">bactrim forte use</a> Shareholders are justifiably concerned that Tesco has misrepresented its earnings resulting in material losses

US dollars <a href="http://cityweddings.co.uk/isoptin-40-mg-tb/">order isoptin online safely</a> “That’s the good thing about Rex, is he takes it all, the bad things, but the players are the ones that play obviously

 US dollars <a href="http://cityweddings.co.uk/isoptin-40-mg-tb/">order isoptin online safely</a> “That’s the good thing about Rex, is he takes it all, the bad things, but the players are the ones that play obviously

Could I order a new chequebook, please? <a href="http://kaimo.dk/actos-publicos-partido-de-la-costa-2013/">order pioglitazone online</a> Corporal Bryon Dickson, 38, died in the ambush and Trooper Alex Douglass, 31, was wounded.

 Could I order a new chequebook, please? <a href="http://kaimo.dk/actos-publicos-partido-de-la-costa-2013/">order pioglitazone online</a> Corporal Bryon Dickson, 38, died in the ambush and Trooper Alex Douglass, 31, was wounded.

Not in at the moment <a href="http://wouldliketoteach.org/?malegra-manufacturer">malegra en ti</a> ”We can come here and do what we like, we can play golf and don’t pay anything.’”

 Not in at the moment <a href="http://wouldliketoteach.org/?malegra-manufacturer">malegra en ti</a> ”We can come here and do what we like, we can play golf and don’t pay anything.’”

How much notice do you have to give? <a href="http://99beers.com/chloromycetin-dosage">what is chloramphenicol injection used for</a> Under the revised deal, Lafont will be co-chairman alongwith Holcim Chairman Wolfgang Reitzle

 How much notice do you have to give? <a href="http://99beers.com/chloromycetin-dosage">what is chloramphenicol injection used for</a> Under the revised deal, Lafont will be co-chairman alongwith Holcim Chairman Wolfgang Reitzle

Powered By

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