Copy link to clipboard
Copied
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.
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.
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.
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.
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
thanks for the update, @Scott218279341e6r
Find more inspiration, events, and resources on the new Adobe Community
Explore Now