top of page

Behaviors

Behaviors

Behaviors

How behaviors work.

 

When you place an object in the scene, it then becomes available for interaction.

 

  • Any object may have any number of in-world events. 

  • Events map to action verbs or AI based on the object.

  • All of this is resolved through an inheritance stack. 

 

For example, the On-Stage event is sent to every object in the space when someone enters or views the space.

​

This means each object will react if the on stage event if defined for that object. A rock on the ground may not have an on stage event assigned to it, so it just lays there and does nothing. An in tray for email on your desk may have an on stage event that displays the number of unread items or even sends an alert for an urgent item. A brand bot will come to attention and wait for your verbal command.

​

Because everything in the world follows the same object model, a single behavior model stack handles all possibilities.

​

Behavior programs can be any of the technologies listed. Behaviors may be python programs, links to other planet blue scenes, any AI request with associated prompts, a link to a website, web embeds or APIs.

​

Behavior programs can query the place in which the object exists and modify the action taken. For example, a brand-bot may have different behaviors when in the garage versus in the yard.

​

The behaviors have an inheritance stack, which is not shown, but that allows you to create behaviors for classes, instances or planet level functions.

This model works incredibly well because it allows all objects to interface with one another and gives you the ability to implement virtually any kind of technology as object behavior. 

​

Additionally, when objects are put in a scene it’s possible for them to communicate with other objects in the scene. If you make machines for a factory floor, each machine can communicate with the instances of other machines in the space. A marching band leader may find other band members in the space and based on the instruments available, select music that would sound best for that group of instruments.

​

An office scene may simply contain all of the objects necessary to get a job function completed.

 

A home space may include social media feeds, news feeds, music and other resources to make living more pleasant.

bottom of page