Learn Spark AR Studio

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

Clear
Back

Moving Objects With the Face Tracker

You can use the Patch Editor to bind the movement of a scene object to a face tracker, so the object moves with the face.

To try this out:

  1. Add a face tracker to your project.
  2. Drag the face tracker into the Patch Editor to create a patch.
  3. Select an object in the Scene panel.
  4. In the Inspector, click the arrow next to Rotation to create a patch.

Connect the Rotation port on the face tracker patch to the input port in the patch representing the object’s Rotation property.

Here’s how the graph will look:



Whenever your head moves, the object should move with it:

You could use the 3D Position port in the face tracker patch instead. Connect it to a patch representing the Position property of an object, to change it’s position without rotating the object.

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?