Hello Guest

Author Topic: 2D Toolkit and 2DDL  (Read 4081 times)

DJVDJV

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 30
    • View Profile
2D Toolkit and 2DDL
« 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

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: 2D Toolkit and 2DDL
« Reply #1 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.