Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Problem exporting animate to unity animation

New Here ,
Apr 27, 2025 Apr 27, 2025

Hi there. I am trying to export my character from animate to unity but I am having a problem. The animation has 20 frames . On frame 1 and 20 the character is in default stance, but frame 10 I lowered the head and added a tween to smooth the bobbing motion. However as you see this is changing the size of the image and causing the issue.

Scott218279341e6r_2-1745784369385.pngScott218279341e6r_0-1745783859142.png

The below image is a demo scene in Unity showing that the character is moving up into the air at the part of the animation when his head is lowered.  Giving illusion of the character floating up and down.

Scott218279341e6r_1-1745784318189.png

How can I achieve this animation without this happening? 

Is possible to lock the frame size ? I have tried all the options in animate such as scale content etc. I've also tried settings in Unity such as draw mode to tiled, but this makes the whole character stretch and doesnt look good for a robot. 

 

306
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

New Here , Apr 28, 2025 Apr 28, 2025

I managed to fix it. It was obvious. 

So the problem isn't within Animate it's Unity. I didn't have the normalised pivot points in the sprite sheet set to the same location. Or at least I hadn't done it right. I think I had downloaded texture packer to do this for me, couldn't get it to work, and moved on.

In Unity I manually copied paste all the points for each frame and it works now.

Translate
Community Beginner ,
Apr 27, 2025 Apr 27, 2025
It is possible to add a transparent background in animate according to the size of the square. 
But I don't know how in Unity it will be suitable for collision
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 28, 2025 Apr 28, 2025

I tried something like that already. Basically I made a rectangle around the character and turned the transparancy to 0 via the alpha. Unfortunately once the transparancy is 0 it seems that Animate ignores that anything is even there, so the boundary box starts changing size again. 

I tried the same sort of thing by using a mask layer with no luck either. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 28, 2025 Apr 28, 2025

I managed to fix it. It was obvious. 

So the problem isn't within Animate it's Unity. I didn't have the normalised pivot points in the sprite sheet set to the same location. Or at least I hadn't done it right. I think I had downloaded texture packer to do this for me, couldn't get it to work, and moved on.

In Unity I manually copied paste all the points for each frame and it works now.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 28, 2025 Apr 28, 2025
LATEST

thanks for the update, @Scott218279341e6r 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines