This commit is contained in:
syui 2025-02-08 22:55:42 +09:00
parent 9d9cbc759a
commit 49830fb4bf
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56
2 changed files with 10 additions and 0 deletions

View File

@ -20,6 +20,7 @@
* [city sample](city/README.md) * [city sample](city/README.md)
* [惑星形式のmapを作る](city/01_remove.md) * [惑星形式のmapを作る](city/01_remove.md)
* [橋を作る](city/02_bridge.md) * [橋を作る](city/02_bridge.md)
* [建造物を作る](city/03_house.md)
* [json blueprint utilities](json/README.md) * [json blueprint utilities](json/README.md)
* [apiから情報を取得する](json/01_varest.md) * [apiから情報を取得する](json/01_varest.md)
* [pixel streaming](pixel/README.md) * [pixel streaming](pixel/README.md)

9
book/city/03_house.md Normal file
View File

@ -0,0 +1,9 @@
# 建造物を作る
1. [twinmotion](https://www.twinmotion.com/)をinstallして、建造物を作ります。template(テンプレート)を編集しても構いません。
2. できたらexportしてueの$projectを選択します。`$project/${name}_Assets`が作成されます。`datasmith`の置き場所は変更しても構いません。
3. $projectを開いて、pluginの`datasmith`を入れます。そして、`$name (Datasmith シーン)`のファイルをmapにD&Dします。
4. すり抜け問題を解消するには作成された`mesh`を全選択して、右クリックで`アセットアクション -> プロパティマトリクスで選択内容を... -> collision complexity(use complex collision as simple...)`を選択します。
> 私の場合はmeshが`/Content/Twinmotion/room/Geometries/`にあります。
<iframe width="100%" height="415" src="https://www.youtube.com/embed/BsLOlAr-wBY?si=jahPUVD8YMMfefvm&start=152&end=160&mute=1&rel=0&showinfo=0&controls=0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>