anukasulamanidze

I am using spine skeleton renderer separator in Unity, to make inserting/sandwiching effect in my game.

But, somehow separator component does not works properly, when I am separating only bird's nose mesh for example, legs ( or maybe other parts also) are also separating together with nose ( each of them has separate slot in spine).

I don't know what's the problem, I am using Spine pro 4.1 version

Any ideas?
Please, help ! :(
anukasulamanidze
  • Messaggi: 3

Harald

Separation depends on the draw order. Please check the draw order in the Spine Editor to find out what Attachments are above and below in sorting order.
Avatar utente
Harald

Harri
  • Messaggi: 4332

anukasulamanidze

[quote="Harald"][/quote]

Depends on how? can you specify, please? which should be above or below to work correctly, I didn't get the logic:((
anukasulamanidze
  • Messaggi: 3

Misaki

The SkeletonRenderSeparator component allows you to separate the skeleton based on the drawing order of the specified slot as the separator slot. So if you do not get the desired separation, there may be slots below or above the separator slot that are not appropriate to be there. In your case, moving the legs slot above or below the separator slot in the Spine editor should solve the problem.

Did you follow the setup steps described in the documentation? If you haven't read it yet, please check it out:
spine-unity Runtime Documentation: Setup
Avatar utente
Misaki

Misaki
  • Messaggi: 1022

Harald

If you need help on how to set the draw order in the Spine Editor, please see this documentation page:
Slots - Spine User Guide: Draw order
Avatar utente
Harald

Harri
  • Messaggi: 4332


Torna a Unity