0
0

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 3 years have passed since last update.

TriggerVolume メモ

0
Posted at
  • TriggerVolumeとは
    衝突検出が可能なみなない3Dシェイプのことを指す

  • Appleのドキュメント

  • 持っているコンポーネント
    トランスフォームコンポーネント
    同期コンポーネント
    コリジョンコンポーネント

モデルコンポーネントを持っていないので、単体としてレンダリングすることはできないが、トランスフォームコンポーネントを持っているので任意の場所に配置し、コリジョンコンポーネントで衝突検知をすることができる。
衝突検知のみにタスクを特化しているので効率的になる。

TriggerVolumeの引数にはShapeResourceでトリガーボリュームの形状を指定することができる。
また、複数の形状を配列という形で指定することもできる。

init(shape: ShapeResource, filter: CollisionFilter)
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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?