C4D animation layers

  • Also, all the hyperlinks in previous topics are now broken

    Comment actions Permalink
  • Hi Charlie! 

    Cinema4D doesn't support animation layers. Fortunately, you can create animation layers inside Lens Studio from a single animation timeline. To do this, use the Animation Clips feature in the Animation Mixer. Check out this guide under "Animation Clips":

    https://lensstudio.snapchat.com/guides/scripting/playing-3d-animation/

    Basically, this allows you to create layers from within Lens Studio that you can then reference when you go to playback the animations. 

    Comment actions Permalink
  • That's great, the code has a value for the animation start offset, how would add an end frame for an animation to loop too? so for instance a want an idle animation to be frames 0-50 that loops, then a trigger animation of jump to be from 51-100?

     

    Also, how do I set 2 animation in the animations in the animation mixer? I only have the baselayer? On the tutorial he brings in an animated asset (the elephant in the pool ring) and it has 2 animations in the mixer already

    Comment actions Permalink
  • Hey Charlie,

    If your exporting your animation from C4D you need to have all of your animation in one layer(Single Timeline).

    After you import your FBX file into Lens Studio, It automatically imported as a single layer so you need to use the Animation Mixer's Clip view to divide your animation into as many as layers you want.

    To start adding layers click on the plus button on Animation Mixers component


    Then you can specify the start frame inside the "From" input and also specify the end frame inside the "To" input.

    Make sure to set your animation weight to 1.0 and set the blend mode to additive so it not blending between two of your animation layers.

    Best,

    Amir

     

     

    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!