Create functions let you create objects for your scene as long as there is not already an object with the same name in your project. They are different to other functions since they usually do only get executed once in a project and this usually on the first frame. Create functions use some common object attributes as arguments. Further object definitions are done using the channels of the created objects. To setup and define object attributes it is recommended that you use the setup function. Read how to use create functions here.
effector: cross
create_cross( "name", "parent", position, rotation )
Example:
create_cross( "Cubes_child", "Cube", vec( 0, 0, 0 ), vec( 0, 0, 0 ) );
effector: box
create_box( "name", "parent", position, rotation, boxsize )
Example:
create_box( "Box_Effector", "Cube", vec( 0, 0, 0 ), vec( 0, 0, 0 ), vec( 10, 10, 10 ) );
effector: joint
create_joint( "name", "parent", position, rotation, size )
Example:
create_joint( "Joint_Effector", "Cube", vec( 0, 0, 0 ), vec( 0, 0, 0 ), 10 );
effector: bone
create_bone( "name", "parent", position, rotation, length )
Example:
create_bone( "Cubes_Bone", "Cube", vec( 0, 0, 0 ), vec( 0, 0, 0 ), 10 );
camera
create_camera( "name", "parent", position, reference )
Example:
create_camera( "My_Camera", "", vec( 0, 0, -100 ), vec( 0, 0, 0 ) );
light: camera
create_cameralight( "name", "parent", position, reference)
Example:
create_cameralight( "Camera_Light", "Camera_1", vec( 0, 0, 0 ), vec( 0, 0, 0 ) );
light: parallel
create_parallellight( "name", "parent", position, reference )
Example:
create_parallellight( "Sun", "", vec( -1000, 1000, -1000 ), vec( 0, 0, 0 ) );
light: radial
create_cross( "name", "parent", position )
Example:
create_radiallight( "lamp", "", vec( 10, 10, 10 ), vec( 0, 0, 0 ) );
light: ambient
create_ambientlight( "name", "parent", position )
Example:
create_ambientlight( "Ambient", "", vec( 0, 0, 0 ) );
light: spot
create_spotlight( "name", "parent", position, reference )
Example:
create_spotlight( "Bulb_Light", "Bulb_Object", vec( 0, 0, 0 ), vec( 0, 0, 0 ) );
light: tube
create_tubelight( "name", "parent", position, reference )
Example:
create_tubelight( "Custom_Tube", "Cube", vec( 0, 0, -10 ), vec( 0, 0, 10 ) );
illuminator: radial dome
create_radialdomeilluminator( "name", "parent", position, rotation)
Example:
create_radialdomeilluminator( "Dome", "", vec( 0, 0, 0 ), vec( 0, 0, 0 );
illuminator: radial box
create_radialboxilluminator( "name", "parent", position, rotation)
Example:
create_radialboxilluminator( "Box_Illuminator", "", vec( 0, 0, 0 ), vec( 0, 0, 0 );
smoker
create_smoker( "name", "parent", position, rotation)
Example:
create_smoker( "Custom_Smoker", "", vec( 0, 0, 0 ), vec( 0, 0, 0 );
|
|
|