If you don’t want to animate the object then it is a simple setup:
-
Create an actor blueprint for the vending machine
-
Add the static mesh actor (from the FBX) to the blueprint
-
Create an Interact Interface that you can trigger from the player and on the vending machine
-
When the interface is triggered, do whatever it is you want: e.g. give the player an item in their inventory
-
Add an input option to your player for interaction (e.g. E key)
-
When the player interacts, do a line trace and see if they are close enough to the object to interact with it
-
If they are, trigger the interface
Check out How To Interact | Blueprint Interface - Unreal Engine Tutorial - YouTube