Hello Guest

Author Topic: about collider type  (Read 4742 times)

Companella

  • Newbie
  • *
  • Posts: 29
    • View Profile
about collider type
« on: June 27, 2013, 05:11:38 am »
Create a new sprite in SpriteCollection, the default collider type is "User Defined", not "Fore None".
they are look like no collision.
what is difference?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: about collider type
« Reply #1 on: June 27, 2013, 11:45:18 am »
Docs here:
http://unikronsoftware.com/2dtoolkit/doc/2.00/reference/sprite_collection.html

Collider Type - Select the collider to be built for this sprite.
User defined - The user is reponsible in creating and managing the collider. This option will not delete any existing colliders.
Force none - The system will ensure there is no collider attached to the system.

So, if you want to create/manage your own colliders, use "User defined".

Companella

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: about collider type
« Reply #2 on: June 27, 2013, 03:18:19 pm »
thank u~