Advanced collider definitions. More...
Public Attributes | |
Type | type = Type.Box |
Type of collider. | |
Vector3 | origin |
Origin of the collider relative to the sprite. | |
float | angle |
Rotation angle of the collider. Meaningless on Circle shapes. | |
Properties | |
float | Radius [get] |
The radius of a Circle collider. | |
Vector3 | Size [get] |
The size of the box collider. |
Advanced collider definitions.
Rotation angle of the collider. Meaningless on Circle shapes.
Origin of the collider relative to the sprite.
Type tk2dSpriteColliderDefinition.type = Type.Box |
Type of collider.
float tk2dSpriteColliderDefinition.Radius [get] |
The radius of a Circle collider.
Vector3 tk2dSpriteColliderDefinition.Size [get] |
The size of the box collider.