UE4 - Creating a RPG #39 - Creating Inventory Pickup Items

노기현·2024년 12월 5일

Today's Lesson: Creating Inventory Pickup Items

Summary

1. We show you how you can create a simple pickup item that will work with your inventory system.

2. Create the collectable pickup blueprint along with the code which checks to see which slots are free in your inventory.

Virtus Learning Hub


✅ Pick up Items

◼️ Actor Blueprint <WoodPickup>

  • Add Component: Static Mesh
    - 적절한 Static Mesh 선택
    - Collision Preset - No Collision
  • Level에 Actor 배치
  • Add Component: BoxCollision

◼️ WoodPickup Logic

  • Box → On Component Begin Overlap

...

강의 내용처럼 블루프린트가 복잡해지지 않으려면, Item Slot을 관리하는 변수를 배열로 구현할 필요성을 느낌.

profile
RPG 기획자 지망생

0개의 댓글