-1

Hi I'm an animator new to coding I was wondering if it was possible to parent an object to the face tracker but with a short delay of 200 milliseconds or so, I have tried in the patches editor and with a script but have hit brick walls both times. Thanks for your help! :)

1 Answers1

0

I think what you're looking for is the expSmooth() method:
https://sparkar.facebook.com/ar-studio/learn/reference/classes/reactivemodule

For example:

let dampening = 1000;
myObject.transform = face.cameraTransform.expSmooth(dampening);
JackKalish
  • 1,555
  • 2
  • 15
  • 24