2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【UE4】マルチプレイヤーFPSみたいに自分と他人で違う見え方するキャラクターの作り方

Posted at

補足

本記事は過去(2015-11-16)にブロマガで書いた記事の移植です。

はじめに

いいタイトルが思いつきませんでした(
今回はggっても出てこなかったけどちょっと探したら発見出来た機能を紹介します。

今回作るもの




このように自分では腕が見えるが他人からは人が見えるみたいな、
FPSでよくある処理を目指します。

解説

キャラクターコンポーネントに自分視点用の腕と他人視点用のマネキンを用意します。



次に各Meshのコンポーネント(今回の場合は腕(Mesh2P)とOtherSeeMesh)を選択し、
Renderingの項目の詳細を開き、
"Owner No See"と"Only Owner See"を調整します。



Owner No See → 他人からしか見えない
Only Owner See → 自分からしか見えない
といった項目になってます。

今回の場合は腕を"Only Owner See"にチェックを入れ、
マネキンに"Owner No See"のチェックを入れました。



やったぜ。
2
1
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
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?