Collider.ClosestPointOnBoundsfunction ClosestPointOnBounds (position : Vector3) : Vector3DescriptionThe closest point to the bounding box of the attached collider. This can be used to calculate hit points when applying explosion damage. var hitPoints : float = 100.0; |
