Grabbing Implementation for Building Escape

Here is how I would go about grabbing an object in the game:

  1. Firstly, i’d wanna place some sort of trigger event that highlights the object we are trying to grab. This makes it easy for the player to recognize it.

  2. Secondly, i’d make a base class that allows for the player to grab the object. I plan on adding more rooms to the building escape game with even more objects to grab, which is why I opted for a base class.

  3. Lastly, I want to have something similar to “IsOverlap” for the object and the pressure plate. Once they place the object in the right place, the door will open.

That’s about all I could think of and I’d appreciate any suggestions. :slight_smile:

1 Like

Should clarify, I meant inheritance (not base class, my bad) instead of building a new component!

1 Like

Privacy & Terms