Locking Y and X Rotation when locked to position of face?

  • Hi Topher,

    You can do this using a Face Sprite but it requires a lot of tweaking to get right. The two keys to this are changing the Look At component's "World Up" to "Scene Y" to lock its rotation, and then trying to get the sprite's pivot point to match with the head's pivot point (around where the head and neck meet).

    1. Add a new Face Sprite (Add New -> Face Sprite)

    2. On the Sprite, set Texture to the one you want to use. Set Fill Mode to "stretch" and change the Look At's World Up direction to Scene Y.

    3. On the Sprite Binding, set "Attach To Point" to "Head Center"

    4. In the 2D Scene, position the Sprite to around where you want it to be relative to the face.

    5. In the 2D Scene, drag the Sprite's pivot point to be right under the chin, around the neck area.

    6. Manually set the Sprite Binding's Transform position to add an offset (and get it closer to the head's pivot point). I used a value around (0, -2.5, -30).

    7. Set an additional offset on the Sprite's Transform. I used (0, 0, -8).


    Hopefully these steps will get you close to what you want, but you'll probably need to tweak the pivot points and offsets for a while to get it perfect for your case. Let me know if you need any more help!

    Comment actions Permalink
Have a comment?

Please sign in to leave a comment.

We're here to help! We just need a little bit of information...

What system are you using?

Have you downloaded the latest version of Lens Studio?

Please download the latest version of Lens Studio. If you still run into this issue, please come back and report it!

Is this issue causing Lens Studio to crash?

What system do you run Lens Studio on?

Version

Graphics

Follow the next steps to help us solve your issue:

  • Copy and paste this text into your TerminalCommand Window
    open ~/Library/Preferences/Snap/Lens\ Studio/ %LOCALAPPDATA%\Snap\Lens Studio Copy Text
  • Press ReturnEnter to run the command. The Lens Studio folder will automatically open
  • Prepare to upload your files: zip the "Log" Folder by right-clicking and choosing "compress."
    Locate the Log.txt file right above it.

    Attach a screenshot of the issue:

Name:

Email:

What is this most relevant to?

Please enter a brief description of your issue:

Thanks for submitting this issue.

Unfortunately, it's likely due to the operating system or hardware you're using – since they don't meet the system requirements for Lens Studio.

Still, we hear you loud and clear, and are logging the issue in case there's ever a workaround we can provide!

Minimum Requirements

Operating System: Windows 10 (64 bit); MacOS 10.11+

Hardware: Minimum of Intel Core i3 2.5Ghz or AMD Phenom II 2.6Ghz with 4 GB RAM; Intel HD Graphics 4000 / Nvidia GeForce 710 / AMD Radeon HD 6450 or better; screen resolution of 1280x768 or higher

We'll try to resolve this issue as soon as possible. Thanks for letting us know about it!

Keep an eye out for a followup email from us. We may have a couple more questions for you, or we might already have a solution to offer.

Happy creating!