Learn Spark AR Studio

Everything you need to know to create an interactive augmented reality experience.


Effects in World Space

In Spark AR Studio, you can create AR effects that transform someone's environment when they're looking through the back camera of a mobile device.

One way of doing this is by moving an object from camera space, into world space. If an object is in world space, you can set it to be in a fixed location in someone's environment. Only mobile devices with a gyroscopes can use effects in world space.

Another way of creating a world effect is with the plane tracker.

Learn about:

The difference between camera space and world space

By default, all objects are added to the scene as children of the Camera in the Scene Panel. This means they're in camera space, and will move with the movement of the device.

To see camera space, select the Camera in the Scene Panel. This will highlight a small rectangle in the Viewport in blue. This rectangle represents the mobile device. You'll also see a larger rectangle. This represents what's in view of the camera.

In the example below, the heart is in camera space.

When an object is not longer a child of the Camera, it's in what's known as world space. This means the object can placed in a fixed location in someone's environment.

Moving an object into world space

To move objects out of camera space and into world space, all you need to do is select the object, and drag it to the bottom of the Scene Panel. This will position the object at 0 along the X, Y and Z axes.

We've done this in the example below:

Positioning an object in world space

Use the Manipulators at the top of the Viewport, or edit the Transformations of an object in the Inspector to experiment with the position, rotation and scale of objects in world space.

Previewing objects in world space

Use the Simulator to simulate the movement of the device, to get an idea of how your world effect looks.

Or, preview your effect on a device using the Spark AR Player app.

Removing device motion capability

When you move an object into world space, Device Motion Capability will be added. Leaving it in place will limit the mobile devices your effect can work on, so it's a good idea to remove it if you've decided to make an effect in camera space.

If you move that object back to camera space or delete it, you'll need to remove the capability:

  1. Go Project in the Menu bar and select Edit Properties.
  2. Select Capabilities then Device Motion.
  3. Click -.

Learn more

Join the Spark AR Creator's community

Find inspiration, see examples, get support, and share your work with a network of creators.

Join Community

Frequently asked questions

Have a specific question? Maybe it's been answered.

Read FAQs
Was this document helpful?