Private
Public Access
1
0
4
NIS
syui edited this page 2025-12-21 08:47:47 +00:00

Nice Interaction System

アイテムを取得するシステム。

アイテムを取得するまで

  1. docsがあります。基本的にGame Modeの設定に入っているPlayer Controller, Game Stateのファイルを開きます。GASはGM_Snadboxなどがそれにあたります。これらのBPにcomponentを追加します。
  2. Player Controller: AC_PC_Interaction

The only thing you need to do now is open your Player Controller and add the AC_PC_Interaction component:

  1. Game State: AC_GS_Interaction

Now just add the AC_GS_Interaction component to your game state:

  1. project設定にてcollisionのtrace channelにLookAtTraceignoreで追加します。

アイテムを取得できない問題を修正

  • 2025.12.21
  1. AC_PC_Interaction: /Game/NiceInteractionSystem/Blueprints/Components/AC_PC_InteractionTraceValidationActorにあるPlayerActiveCameraに値が入っていません。
  2. Local Get Active Cameraから値を入れます。

https://blueprintue.com/blueprint/l5io0wqx/

キャラを切り替えるとアイテムを取れない

これはAC_PC_Interactionにあるmappingの優先順位の問題です。PC_Sandbox(IMC_Sandbox)にまとめても解決できます。