Search Unity

SphereCast ignore collider's scale, Bug?

Discussion in 'Editor & General Support' started by Daylightsburning, Mar 31, 2014.

  1. Daylightsburning

    Daylightsburning

    Joined:
    Oct 24, 2013
    Posts:
    15
    Hi everyone,

    I find that SphereCast will ignore collider's scale while RayCast and CapsuleCast won't, is this a bug?

    the collider is a simple box, and guaranteed the start position is not overlapping with any colliders (even with radius)

    If this is designed behavior, will it be expensive to use 8 RayCast to replace a single SphereCast? (not good, because the hit point will no longer the exact hit point).

    Thank you.

    ps. Unity version is 4.3.1f1