Skip to main content

create_object

Skill class for ai.intrinsic.create_object skill.

Creates world object(s) from an installed Scene Object asset. Allows the user to specify the poses to create the objects at. Allows the user to specify a randomization parameter to randomize the poses. Dependency note: This skill requires a ai.intrinsic.spawner service.

Prerequisites

This skill does not have any prerequisite.

Usage Example

This skill does not have any usage example yet.

Parameters

object_to_create

The id of the Scene Object asset to create objects from. The asset must be installed in the solution.

object_naming_schema

The naming schema to use for the created objects.

create_at_frame

The frame to create objects relative to. If unset, the objects will be created relative to the root of the world.

attach_to_create_at_frame

If true, the objects will be attached to create_at_frame. Otherwise, the objects will be created relative to the root of the world.

poses

The poses to create objects at. The poses are relative to the create_at_frame. Each pose will be randomized individually by randomization.

randomization

If set, the poses of the objects will be randomized indivisually by the domains specified.

create_in_world

If set, the objects will be created in the specified world.

Returns

objects

The objects that were created.

Error Code

The skill does not have error codes yet