2D Toolkit Forum

2D Toolkit => Support => Topic started by: DJVDJV on October 18, 2015, 11:08:08 am

Title: 2D Toolkit and 2DDL
Post by: DJVDJV on October 18, 2015, 11:08:08 am
Hellos,

I tried to get light system: (2DDL https://www.assetstore.unity3d.com/en/#!/content/25933)
to work with 2DTk.


I did not get 2DTk polygon colliders work wit 2DDL, I asked help from maker of 2DDL and he answered:

"2dlight gameobject must have the same Z pos that polygon colliders 2d.
Other thing is layermask, check layer within inspector of 2ddl and layer of your tiles"


So:
How to set that Z pos of polygon collider in code wise in 2DTk?
Is there anything else I should know
Title: Re: 2D Toolkit and 2DDL
Post by: unikronsoftware on October 18, 2015, 11:30:46 am
Based on that comment - You'll need to be using the 2d mode physics mode, if you're not it isn't going to work. Apart from that I have no idea, I haven't used that asset.