Statechart
Last updated
Was this helpful?
Last updated
Was this helpful?
The statechart is defined as a json document according to .
In addition, the following customized actions can be defined:
"show" to make appear the asset "target" in a given place. Additional attributes are: "position" (array), "rotation" (array), "placementRelTo" (string), "delay" (milliseconds as integer).
"moveTo" to move the asset "target" to a given place. Additional attributes are: "position" (array), "rotation" (array), "placementRelTo" (string), "delay" (milliseconds as integer), "duration" (milliseconds as integer).
"surfaceVelocity" to set the surface velocity of asset "target". Additional attributes are: "velocity" (array).
"genAsset" to generate a new asset modeled after the asset "target". Additional attributes are: "position" (array), "rotation" (array), "placementRelTo" (string), "delay" (milliseconds as integer).
"setRepresentation" to set the representation (3D model) of the asset "target. Additional attributes are: "repr" (string), "delay" (milliseconds as integer).