|
override void | IgnoreCollision (in HitInfo hitInfo, bool ignore) |
| Ignores the collision between this object and some other collider. More...
|
|
override void | IgnoreLayerCollision (int targetLayer, bool ignore) |
| Ignores the collision between this object and a layer. More...
|
|
override void | IgnoreLayerMaskCollision (LayerMask layerMask, bool ignore) |
| Ignores the collision between this object and a layer mask. More...
|
|
override bool | SimpleRaycast (out HitInfo hitInfo, Vector3 origin, Vector3 castDisplacement, in HitInfoFilter filter) |
| Raycast wrapper for 2D/3D physics. More...
|
|
override int | Raycast (out HitInfo hitInfo, Vector3 origin, Vector3 castDisplacement, in HitInfoFilter filter) |
| RaycastAll wrapper for 2D/3D physics. More...
|
|
override int | CapsuleCast (out HitInfo hitInfo, Vector3 bottom, Vector3 top, float radius, Vector3 castDisplacement, in HitInfoFilter filter) |
| CapsuleCastAll wrapper for 2D/3D physics. More...
|
|
override int | SphereCast (out HitInfo hitInfo, Vector3 center, float radius, Vector3 castDisplacement, in HitInfoFilter filter) |
| SphereCastAll wrapper for 2D/3D physics. More...
|
|
override int | BoxCast (out HitInfo hitInfo, Vector3 center, Vector3 size, Vector3 castDisplacement, Quaternion orientation, in HitInfoFilter filter) |
| BoxCastAll wrapper for 2D/3D physics. It returns (by reference) the closest hit. More...
|
|
override int | BoxCast (Vector3 center, Vector3 size, Vector3 castDisplacement, Quaternion orientation, in HitInfoFilter filter) |
| BoxCastAll wrapper for 2D/3D physics. It doesn't return any particular hit, instead, it updates all the hits from the buffer (HitInfo array). This buffer can be obtained via the HitsBuffer property. More...
|
|
override bool | OverlapSphere (Vector3 center, float radius, in HitInfoFilter filter) |
| OverlapSphere wrapper for 2D/3D physics. More...
|
|
override bool | OverlapCapsule (Vector3 bottom, Vector3 top, float radius, in HitInfoFilter filter) |
| OverlapCapsule wrapper for 2D/3D physics. More...
|
|
void | ClearContacts () |
|
|
Rigidbody2D | Rigidbody = null [get] |
| Gets the Rigidbody associated with this object. More...
|
|
Collider2D [] | Colliders = null [get] |
| Gets an array with all the colliders associated with this object. More...
|
|
HitInfo [] | HitsBuffer = new HitInfo[20] [get, protected set] |
|
List< Contact > | Contacts = new List<Contact>(20) [get, protected set] |
| Gets a list with all the current contacts. More...
|
|
List< Trigger > | Triggers = new List<Trigger>(20) [get, protected set] |
| Gets a list with all the current triggers. More...
|
|
LayerMask | CollisionLayerMask = 0 [get, protected set] |
| Returns a layer mask with all the valid collisions associated with the object, based on the collision matrix (physics settings). More...
|
|
An implementation of a PhysicsComponent for 2D physics.