0
0

More than 1 year has passed since last update.

Unityで初めてのゲーム制作 2nd Mission: アセットインポート

Last updated at Posted at 2022-10-18

2nd Mission Start!!

1st Mission → 企画

アセットインポート

使用する3Dモデルやアニメーションをインポートします。
まずは必要最低限のものだけダウンロードし、必要になったら随時ダウンロードしていく予定。
※開発しながら記事を書いているため、随時追記してきます。

ダウンロード先↓
Mixamo
Unity Asset Store

Mixamo

プレイヤーモデル

  • X bot(ダウンロード名: Player)

アニメーション

  • Idle
  • Run Forward
  • Sword And Shield Run
  • Sword And Shield Slash(コンボ用に3つに区切って)
  • Sword And Shield Block
  • Sword And Shield Impact(2種類)
  • Death

アニメーションダウンロード時の設定
スクリーンショット 2022-10-17 1.39.45.png
アニメーションはインポート後、必ずRigの設定を画像のように変える。
Animation Type: Humanoid
Avatar Definition: Copy From Other Avatar
Source: PlayerAvatar
スクリーンショット 2022-10-18 0.36.05.png

Unity Asset Store

武具

モデル調整

  1. Player.fbxをHierarchyにドラッグ&ドロップしてUnpack Prefab。
  2. Player.fbxのInspectorを開き、Materialsの設定を画像の通りに。スクリーンショット 2022-10-17 2.28.21.png
  3. Player > Beta_JointsのInspectorを開き、MaterialsにMetal8を設定。
  4. Player > Beta_SurfaceのInspectorを開き、MaterialsにWhiteBatteredを設定。
  5. PlayerのTransformをいい感じに設定。
  6. RPG Swords > Materials > sword01.fbx をPlayerのRightHandにドラッグ&ドロップしてUnpack Prefabし、名前をSwordに変更。
  7. SwordのInspectorを開き、MaterialsにSword_Textures01.matを設定。
  8. SwordのTransformをいい感じに設定。
  9. To Arms! Shield and Sword > Prefabs > Steel Buckler.prefab をPlayerのLeftHandのにドラッグ&ドロップしてUnpack Prefabし、名前をShieldに変更。
  10. ShieldのInspectorを開き、LOD GroupをRemove Component。
  11. Shield以下のBuckler_LOD0以外のオブジェクトを全て削除し、Buckler_LOD0の名前をBucklerに変更。
  12. ShieldとBucklerのTransformをいい感じに設定。

文字が並びすぎていて眩暈がしますが、できあがったものがこちらです。
スクリーンショット 2022-10-18 0.28.45.png
がんばったのでダサいとは言わないでください。
モデルがこんな見た目でいいのかという話ですが、精神世界ではこんな姿になってしまうという設定で押し切るつもりです。

2nd Mission Cleared!!

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0