Shooter Template
※「Shooter Template 」には、「Basic Locomotion Template 」及び、「Melee Combat Template 」が含まれている。
参考:
Third Person Controller – Shooter Template | Unity Asset Store [Official]
目次
操作
インベントリなし (No Inventory)
キーボード/マウス
クリック:トリガー
右クリック:照準で狙いを付ける (Aim)
右クリック + Z
:スコープで狙いを付ける
R
:リロード
1
/ 2
/ 3
/ 4
:スロットの武器に持ち替える
Tab
:視点のオフセット方向を切り替える
ゲームパッド/ジョイスティック
RT
:トリガー
LT
:照準で狙いを付ける (Aim)
LT
+ RB
:スコープで狙いを付ける
LB
:リロード
十字キー:スロットの武器に持ち替える
参考:
Shooter Template Ammo Issue – Invector Forum
使い方
参考:
IK Adjust
参考:
How to align weapon (IK Adjust) – Invector Forum
弾薬 (Ammo)
参考:
Shooter has no loaded ammo – Invector Forum
Shooter Template Ammo Issue – Invector Forum
Enemy
参考:
Cannot kill the enemy in shooter scenes – Invector Forum
Waipoint Area
※Edit Mode を使用するためには Gizmos を有効にしておく必要がある。
Remove Components After Die
「Remove Components After Die」は AI キャラクターが死んで倒れるアニメーションが終了した後に、不要になったコンポーネントを削除する。
死体を消去するには OnDead
メソッド内で必要なディレイを付与して Destroy
を呼び出してオブジェクトを破壊する。
死体の当たり判定をなくし、他のキャラクターと干渉しない状態にするには、コライダーの IsTrigger
及び、剛体の IsKinematic
を有効にする。あるいは、レイヤーを変更する。
参考:
AI After Dead Settings – Invector Forum
“Remove components after die” checkbox is not working – Invector Forum
Removing Dead AI Bodys – Invector Forum
AI Remove Components After Die delayed – Invector Forum
Destroy Body After Dead
vGameController で「Destroy Body After Dead」を有効にすると、プレイヤーの死後にプレイヤーのオブジェクトを自動的に破壊する。
参考:
Character Body not removed upon Death – Invector Forum
腰だめ撃ち (HipFire)
参考:
HipFire Shot Time – Invector Forum
Hipfire + Melee – Invector Forum
弓矢
参考:
銃器で格闘する
参考:
Melee using Shooter Weapons – Invector Forum
ドキュメント
参考:
Basic Documentation | Invector [Official]
Melee Documentation | Invector [Official]
Shooter Documentation | Invector [Official]
AI Documentation | Invector [Official]
フォーラム
参考:
Shooter Template | Invector Forum [Official]
アドオン (Add-ons)
参考:
Third Person Builder Add-on | Unity Asset Store [Official]
Invector Shooter Cover Add-on | Unity Asset Store [Official]
関連アセット
参考:
Third Person Controller – Melee Combat Template | Unity Asset Store [Official]
Third Person Controller – Basic Locomotion FREE | Unity Asset Store [Official]
Third Person Controller – Basic Locomotion Template | Unity Asset Store [Official]
FSM AI Template | Unity Asset Store [Official]
動画/チュートリアル
#2 Creating a new Shooter Weapon
Recreating the Shooter TechDemo Scene
How to setup Shooter/Archery Weapons