|
| override void | IgnoreCollision (in HitInfo hitInfo, bool ignore) |
| | Ignores the collision between this object and some other collider. More...
|
| |
| override void | IgnoreCollision (Transform otherTransform, bool ignore) |
| | Ignores the collision between this object and some other collider. More...
|
| |
|
void | IgnoreCollision (Collider2D collider, bool ignore) |
| |
|
void | IgnoreCollision (Collider2D collider, bool ignore, int layerMask) |
| |
| 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 | CheckCollisionsWith (GameObject gameObject) |
| | Returns true if collisions between this collider and the target GameObject is valid at the physics simulation level. More...
|
| |
| abstract void | IgnoreCollision (in HitInfo hitInfo, bool ignore) |
| | Ignores the collision between this object and some other collider. More...
|
| |
| abstract void | IgnoreCollision (Transform otherTransform, bool ignore) |
| | Ignores the collision between this object and some other collider. More...
|
| |
| abstract void | IgnoreLayerCollision (int targetLayer, bool ignore) |
| | Ignores the collision between this object and a layer. More...
|
| |
| abstract void | IgnoreLayerMaskCollision (LayerMask layerMask, bool ignore) |
| | Ignores the collision between this object and a layer mask. More...
|
| |
|
void | ClearContacts () |
| |
| abstract bool | CheckCollisionsWith (GameObject gameObject) |
| | Returns true if collisions between this collider and the target GameObject is valid at the physics simulation level. More...
|
| |
|
int | Raycast (out HitInfo hitInfo, Vector3 origin, Vector3 castDisplacement, in HitInfoFilter filter, bool allowOverlaps=false, HitFilterDelegate hitFilter=null) |
| | Performs a Raycast and gets the closest valid hit.
|
| |
|
List< HitInfo > | Raycast (Vector3 origin, Vector3 castDisplacement, in HitInfoFilter filter, bool allowOverlaps=false, HitFilterDelegate hitFilter=null) |
| | Performs a Raycast and gets all the valid hits.
|
| |
|
int | SphereCast (out HitInfo hitInfo, Vector3 center, float radius, Vector3 castDisplacement, in HitInfoFilter filter, bool allowOverlaps=false, HitFilterDelegate hitFilter=null) |
| | Performs a SphereCast and gets the closest valid hit.
|
| |
|
List< HitInfo > | SphereCast (Vector3 center, float radius, Vector3 castDisplacement, in HitInfoFilter filter, bool allowOverlaps=false, HitFilterDelegate hitFilter=null) |
| | Performs a SphereCast and gets all the valid hits.
|
| |
|
int | CapsuleCast (out HitInfo hitInfo, Vector3 bottom, Vector3 top, float radius, Vector3 castDisplacement, in HitInfoFilter filter, bool allowOverlaps=false, HitFilterDelegate hitFilter=null) |
| | Performs a CapsuleCast and gets the closest valid hit.
|
| |
|
List< HitInfo > | CapsuleCast (Vector3 bottom, Vector3 top, float radius, Vector3 castDisplacement, in HitInfoFilter filter, bool allowOverlaps=false, HitFilterDelegate hitFilter=null) |
| | Performs a CapsuleCast and gets all the valid hits.
|
| |
|
int | BoxCast (out HitInfo hitInfo, Vector3 center, Vector3 size, Vector3 castDisplacement, Quaternion orientation, in HitInfoFilter filter, bool allowOverlaps=false, HitFilterDelegate hitFilter=null) |
| | Performs a BoxCast and gets the closest valid hit.
|
| |
|
List< HitInfo > | BoxCast (Vector3 center, Vector3 size, Vector3 castDisplacement, Quaternion orientation, in HitInfoFilter filter, bool allowOverlaps=false, HitFilterDelegate hitFilter=null) |
| | Performs a BoxCast and gets all the valid hits.
|
| |
|
bool | OverlapSphere (Vector3 center, float radius, in HitInfoFilter filter, HitFilterDelegate hitFilter=null) |
| | Performs an OverlapSphere and returns true if any of the results is valid.
|
| |
|
bool | OverlapCapsule (Vector3 bottom, Vector3 top, float radius, in HitInfoFilter filter, HitFilterDelegate hitFilter=null) |
| | Performs an OverlapCapsule and returns true if any of the results is valid.
|
| |
|
bool | OverlapBox (Vector3 center, Vector3 size, Quaternion orientation, in HitInfoFilter filter, HitFilterDelegate hitFilter=null) |
| | Performs an OverlapBox and returns true if any of the results is valid.
|
| |
|
| override void | Awake () |
| |
| override void | Start () |
| |
| override LayerMask | GetCollisionLayerMask () |
| |
| override int | InternalRaycast (Vector3 origin, Vector3 castDisplacement, int layerMask, bool ignoreTriggers, bool allowOverlaps) |
| |
| override int | InternalSphereCast (Vector3 center, float radius, Vector3 castDisplacement, int layerMask, bool ignoreTriggers, bool allowOverlaps) |
| |
| override int | InternalCapsuleCast (Vector3 bottom, Vector3 top, float radius, Vector3 castDisplacement, int layerMask, bool ignoreTriggers, bool allowOverlaps) |
| |
| override int | InternalBoxCast (Vector3 center, Vector3 size, Vector3 castDisplacement, Quaternion orientation, int layerMask, bool ignoreTriggers, bool allowOverlaps) |
| |
| override int | InternalOverlapSphere (Vector3 center, float radius, int layerMask, bool ignoreTriggers) |
| |
| override int | InternalOverlapCapsule (Vector3 bottom, Vector3 top, float radius, int layerMask, bool ignoreTriggers) |
| |
| override int | InternalOverlapBox (Vector3 center, Vector3 size, Quaternion orientation, int layerMask, bool ignoreTriggers) |
| |
| override int | FilterOverlaps (int overlaps, LayerMask ignoredLayerMask, HitFilterDelegate hitFilter) |
| |
| override void | GetClosestHit (out HitInfo hitInfo, int hits, Vector3 castDisplacement, in HitInfoFilter filter, bool allowOverlaps, HitFilterDelegate hitFilter) |
| |
| override List< HitInfo > | GetAllHits (int hits, Vector3 castDisplacement, in HitInfoFilter filter, bool allowOverlaps, HitFilterDelegate hitFilter) |
| |
|
abstract LayerMask | GetCollisionLayerMask () |
| |
|
abstract int | FilterOverlaps (int overlaps, LayerMask ignoredLayerMask, HitFilterDelegate hitFilter) |
| |
|
abstract void | GetClosestHit (out HitInfo hitInfo, int hits, Vector3 castDisplacement, in HitInfoFilter filter, bool allowOverlaps, HitFilterDelegate hitFilter) |
| |
|
abstract List< HitInfo > | GetAllHits (int hits, Vector3 castDisplacement, in HitInfoFilter filter, bool allowOverlaps, HitFilterDelegate hitFilter) |
| |
|
abstract int | InternalRaycast (Vector3 origin, Vector3 castDisplacement, int layerMask, bool ignoreTriggers, bool allowOverlaps) |
| |
|
abstract int | InternalSphereCast (Vector3 center, float radius, Vector3 castDisplacement, int layerMask, bool ignoreTriggers, bool allowOverlaps) |
| |
|
abstract int | InternalCapsuleCast (Vector3 bottom, Vector3 top, float radius, Vector3 castDisplacement, int layerMask, bool ignoreTriggers, bool allowOverlaps) |
| |
|
abstract int | InternalBoxCast (Vector3 center, Vector3 size, Vector3 castDisplacement, Quaternion orientation, int layerMask, bool ignoreTriggers, bool allowOverlaps) |
| |
|
abstract int | InternalOverlapSphere (Vector3 center, float radius, int layerMask, bool ignoreTriggers) |
| |
|
abstract int | InternalOverlapCapsule (Vector3 bottom, Vector3 top, float radius, int layerMask, bool ignoreTriggers) |
| |
|
abstract int | InternalOverlapBox (Vector3 center, Vector3 size, Quaternion orientation, int layerMask, bool ignoreTriggers) |
| |
|
virtual void | Awake () |
| |
|
virtual void | Start () |
| |
An implementation of a PhysicsComponent for 2D physics.