Author Topic: 2D outline not updating when using Unity's SpriteSkin 2D animation component  (Read 40 times)

mightyboosh

  • Guest
Hi,

I've been trying to use the HighlightEffect2D component in my 2D Unity game to outline sprites. I have created bone structures using Unity's Skinning Editor and generated the bone hierarchy in the scene using Unity's SpriteSkin component. The 2D characters movements are animated by changing the bone game objects' transforms. My problem is that the outline being generated by HighlightEffect2D doesn't update as these animations play and the sprite skin geometry is deformed.

I have tried calling Refresh() and UpdateMaterialProperties() within the Update() loop which didn't work.

Please help me understand how to get this working.

Thanks.

Kronnect

  • Administrator
  • Hero Member
  • *****
  • Posts: 6642
    • View Profile
Hello,

Could you please send me a scene to contact (at) kronnect.com with just one of those animated sprites?  I'll take a look into it.

Thank you.

mightyboosh

  • Guest
Hello,

Could you please send me a scene to contact (at) kronnect.com with just one of those animated sprites?  I'll take a look into it.

Thank you.

Sent, thanks!