I wrote up a tutorial that covers this for click-to-move style control (common in PC RPGs like Baldur's Gate, Fallout, etc) a few months ago.
One of the examples is opening a chest: - click on the chest - the character walks up to it - the open animation is played (with a sound effect) - the item collector GUI pops up - when the item collector GUI is closed, the chest closes
The first part of the tutorial is outdated, as ORK Framework now has a "Move to Interaction" feature which eliminates the need for doing it via the event system. My example of opening the chest should be easily adapted to your needs, however.
If your chest model doesn't come with animations for opening and closing, then you'll need to use Movement -> Rotation steps to open and close the lid.
One of the examples is opening a chest:
- click on the chest
- the character walks up to it
- the open animation is played (with a sound effect)
- the item collector GUI pops up
- when the item collector GUI is closed, the chest closes
The first part of the tutorial is outdated, as ORK Framework now has a "Move to Interaction" feature which eliminates the need for doing it via the event system. My example of opening the chest should be easily adapted to your needs, however.
If your chest model doesn't come with animations for opening and closing, then you'll need to use Movement -> Rotation steps to open and close the lid.