Collider with a sphere shape.
More...
|
void | Reset () |
| Sets initial values to radius based on a pre-existing SphereCollider or CircleCollider2D.
|
|
override Shape | CreateShape () |
| Create the internal shape used to represent a TSSphereCollider.
|
|
void | Awake () |
| Creates a new TSRigidBody when there is no one attached to this GameObject.
|
|
void | Update () |
|
void | Initialize () |
| Initializes Shape and RigidBody and sets initial values to position and orientation based on Unity's transform.
|
|
virtual void | OnDrawGizmos () |
| Do a base matrix transformation to draw correctly all collider gizmos.
|
|
|
override void | DrawGizmos () |
| Draws the specific gizmos of concrete collider (for example "Gizmos.DrawWireCube" for a TSBoxCollider).
|
|
override Vector3 | GetGizmosSize () |
| Returns the gizmos size.
|
|
Collider with a sphere shape.
Definition at line 9 of file TSSphereCollider.cs.
The documentation for this class was generated from the following file: