Hello Guest

Author Topic: Polygon collider and isTrigger  (Read 3852 times)

mygamingproject

  • Newbie
  • *
  • Posts: 37
    • View Profile
Polygon collider and isTrigger
« on: August 13, 2014, 08:08:38 pm »
I have followed these steps http://2dtoolkit.com/docs/latest/tutorial/creating_polygon_colliders.html for creating a polygon collider within the spritecollection but how do you make it isTrigger = true when the collider doesn't appear within the prefab?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Polygon collider and isTrigger
« Reply #1 on: August 13, 2014, 08:44:15 pm »
The collider should appear in the prefab, if it doesn't it means it hasn't been updated yet - drag it into the scene and it should create it. Then apply to get it on the prefab...

mygamingproject

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: Polygon collider and isTrigger
« Reply #2 on: August 13, 2014, 10:11:16 pm »
Thanks ... dragging on to scene made it appear and then applying change fixed it within my other objects.