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.
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.
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:
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.
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: