Hello Guest

Author Topic: Duplicating colliders  (Read 3490 times)

Cup

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 2
    • View Profile
Duplicating colliders
« on: August 30, 2013, 01:55:37 pm »
Hello,

I have a series of sprites with the same outline, however different "skins"/textures. These sprites would all need colliders, and since their outline is the same, I intend for all of their collider shapes to be identical. I have been using the polygon collider, and I've found I need to manually draw the collider for every individual sprite. Is there any way to "copy and paste" a collider or sprite with all its settings? Alternatively, is there a better practice for having sprites with the same shape but different skins being under the same sprite?

Thank you for any help.
« Last Edit: August 30, 2013, 01:58:05 pm by Cup »

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Duplicating colliders
« Reply #1 on: August 31, 2013, 12:03:54 pm »
Select them all, edit the collider the way you want, but remember to click "Apply" before committing. That will propagate the changes to all the other selected items.

Cup

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Duplicating colliders
« Reply #2 on: August 31, 2013, 02:17:34 pm »
Great! Thank you.