Blender animation + getting link for embeding into html

Hii,

i have two questions :–)

I have a file where I test my animation for my website. I have the nla track for the idle animation +action animation. the idle animation is looping and then a button component activates the action animation on click (trigger parameter). how do i manage that the animation goes back to idle state after it played the action animation one time? when i try to connect the animator state node that contains the action animation back to the idle animation it shows me an exclamation mark.

the next question is the embeding in my html code. i uploaded said file to the needle cloud and now i need the link to embed it in my website. but when i click on the asset in the cloud it doesnt give me any option to “share”or “embed” the file to get the proper link. also not on the “edit info” . so how do i get a proper link for embeding the interactive needle cloud file in my html code?

Hi Mariaa, thanks for the questions! Here’s some guidance for both problems:

• For your Blender animation issue:
When you want your action animation to play once and then revert back to the idle loop, make sure that the action clip is set to non-looping. In your state machine (or animator state node) check the transition from the action state to the idle state so that it only triggers when the action animation has fully completed (for example, by using an exit time or a normalized time condition). The exclamation mark usually means that the transition lacks a valid condition or the parameter isn’t resetting properly. Often, you’ll need to explicitly reset your trigger parameter after the action animation finishes so that the animator knows to revert to the idle state. Double‑check that the exit condition is correctly configured in your state node and that the trigger isn’t remaining “on” once the animation has played.

• For your embedding question:
To get an embeddable link from Needle Cloud, you need to publish your project first. Once published, navigate to the asset’s edit page in Needle Cloud – you should see an “Embed” (or “Share”) option that provides you with an iframe code snippet (the documentation shows an example with an iframe src that starts with “Needle Cloud). If you’re not seeing that option, verify that your file is set as public and that you’re using the latest version of the cloud interface. If the option still doesn’t appear, it might be a permissions issue or a temporary bug – and in that case, contacting the Needle support team is recommended. You can also check our embedding documentation for more details (see the instructions in our docs (docs/embedding.html), (docs/embedding.html)).

I hope this helps – let me know if you have any further questions or need more details!

1 replies left - Become PRO for more replies.
thread_cNYsZJTCDAEExxdqlWbWJZVE
Reply to this post directly if you need further help (bottom right button)

Hi

Regarding the first question you can ignore the question mark, it’s just blender detecting a cyclic connection but since this is a custom graph it’s totally valid. Have you just tried exporting with this animation? It should work as you’d expect.