Keywords: {cube, sphere, cylinder, plane}

Location, Size, and Rotation

location=x,y,z
orientation=x,y,z
pointat=x,y,z

offset=x,y,z
rotation=x,y,z
scale=x,y,z
These parameters specify where the shape is located in Mirage space, represented with Cartesian coordinates x, y, and z positioned at the centroid of the shape.

Shapes can also be rotated around their centroids, specified by the rotation parameter. Rotations are specified using three components of a quaternion; more information about this is available on the Mirage specification website.

Shape scale is given by a set of x, y, and z scaling factors.

Textures and Models

material=[Material]
visible=[Boolean]

Mirage supports applying textures to primitive objects using OGRE material files. If a material is specified, the object will be textured with the material in a tiled pattern.
Note that the material name is case sensitive.

The visibility of the object in the environment may also be disabled, if desired.
modeloffset=x,y,z
modelrotation=x,y,z
modelscale=x,y,z
Mirage also supports assigning OGRE model files to shapes, for custom-themed objects in the environment. If a model is specified, the shape type is hidden and used for the collision model of the object.

Model offsets, rotations, and scale factors follow from the similar attributes when specifying the shape itself.

Physics Parameters

mass=[Float]
centerofmass=x,y,z
kinematics=[Filename]
These parameters are used to govern how objects react to forces in the Mirage environment.

By default, shapes are fixed in the environment unless their mass is specified to be non-zero. The shape's center of mass relative to their centroids can be specified in Cartesian x, y, and z coordinates.

Special kinematics support can be added here by specifying a kinematics filename for Mirage.

Naming and Grouping

name=[String]
group=[String]
The internal representation of Mirage environments assigns a name to each shape. This can be changed using the name parameter here.

The group parameter is used to copy groups of shapes in the Mirage environment. For more information, see the Groups page.