JoeyLLawton Posted February 8, 2018 Report Posted February 8, 2018 (edited) In the scene view everything looks fine but in the game view the separate images constantly move around on the z axis. I can fix this by manually going in and editing each images z position but there's to much, this would take hours just to correct each animation. I'm assuming that I'm just doing something wrong. Has anyone else experienced this issue? I'm using spriter2Unity with unity version 5.3.5 there are two images attached, top is the scene view, bottom is the game view. since posting this 15 minutes ago I figured out that the reason it looks good in the scene view is because that's using an orthographic camera when in 2D mode (I assume) and if I place main camera in orthographic as well it works and looks fine, but I don't want to use orthographic because It messes with the parallax system I have set up. so I'm still trying to figure out the main issue... Edited February 8, 2018 by JoeyLLawton worded something incorrectly, figured out why part of it looked okay Quote
Mike at BrashMonkey Posted February 10, 2018 Report Posted February 10, 2018 Are you dragging the images hot spots in the frame editor to change their pivot points? Spriter2Unity doesn't support this. So it will look right in Spriter, and not in Unity. Quote
JoeyLLawton Posted February 10, 2018 Author Report Posted February 10, 2018 I've only been working with spriter for a few days now, what are hotspots? Quote
Mike at BrashMonkey Posted February 10, 2018 Report Posted February 10, 2018 pivot points.... the dots you can move to change the spot the sprite rotates around Geraldml 1 Quote
JoeyLLawton Posted February 13, 2018 Author Report Posted February 13, 2018 No? I'm just copy and pasting my character from animation to animation? My initial animation's pivot points were created with the alt click tool/function? I'm sorry I'm still somewhat confused. Quote
Mike at BrashMonkey Posted February 13, 2018 Report Posted February 13, 2018 8 minutes ago, JoeyLLawton said: No? I'm just copy and pasting my character from animation to animation? My initial animation's pivot points were created with the alt click tool/function? I'm sorry I'm still somewhat confused. What do you mean by "click tool function"? The only way you should set pivot points is by double clicking the images in the file palette, and not by moving the pivot point dot in the canvas. Quote
JoeyLLawton Posted February 13, 2018 Author Report Posted February 13, 2018 yes I used that, sorry I was referring to that and to the alt drag function to add more bones. Quote
Mike at BrashMonkey Posted February 13, 2018 Report Posted February 13, 2018 Just now, JoeyLLawton said: yes I used that, sorry I was referring to that and to the alt drag function to add more bones. Bones should not cause a problem.. maybe there's a limit to one image per bone though with Spriter2Unity,,, Quote
JoeyLLawton Posted February 13, 2018 Author Report Posted February 13, 2018 (edited) Not sure, but I was watching a brackeys video an hour ago and realized that I believe I can fix the issue by setting each individual image's order in layer in Unity. I haven't tried it yet but I will tomorrow. Thank you for replying, much appreciated! edit: I realized how quick it would be to test it, I tested it, it works, I have to go into each image and reset all their orders in layer and that will fix it. Not ideal but it will work. Edited February 13, 2018 by JoeyLLawton Realized I'm dumb Quote
Mike at BrashMonkey Posted February 13, 2018 Report Posted February 13, 2018 18 hours ago, JoeyLLawton said: Not sure, but I was watching a brackeys video an hour ago and realized that I believe I can fix the issue by setting each individual image's order in layer in Unity. I haven't tried it yet but I will tomorrow. Thank you for replying, much appreciated! edit: I realized how quick it would be to test it, I tested it, it works, I have to go into each image and reset all their orders in layer and that will fix it. Not ideal but it will work. It's a good idea to report this on the github page for Spriter2Unity so any active developer can look into it and hopefully resolve this issue if possible. Thanks very much for researching/experimenting and finding a work-around.. not only is this likely helpful to others, this info might also make fixing this error much easier on the Spriter2Unity side. cheers. Geraldml 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.