2D Toolkit Forum

2D Toolkit => Support => Topic started by: Cup on August 30, 2013, 01:55:37 pm

Title: Duplicating colliders
Post by: Cup 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.
Title: Re: Duplicating colliders
Post by: unikronsoftware 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.
Title: Re: Duplicating colliders
Post by: Cup on August 31, 2013, 02:17:34 pm
Great! Thank you.