This is an old revision of the document!
The interaction API (or iAPI) is a set of simple commands that allow the creation of a network of touch interactive objects that can exchange content with eachothers through the use of “attachment tools”.
Attachment tools
They act as a virtual inventory object, on click, an attach request is sent and the object will attach to your avatar, this works wether you are the owner of the object or not. On detach, attachment tools will automatically “drop” where you are standing, simulating a simple inventory where you can pick up and drop various tools, one at a time.
The use of temporary attachments mean that attachment tools do not clutter your inventory and behave as a single, persistent object.
Attachment tools can have a wide range of built-in functionalities but can also interact with “Furniture objects”.
Furniture objects
These objects can be clicked while wearing an attachment tool and will create an interaction based on the attachment tool used and it's eventual content.
examples:
- Clicking a pile of sand with an empty bucket in hand will fill it up with sand.
- Clicking a drain grate with a bucket of liquid will empty the bucket.