ControllerColliderHit.moveDirectionvar moveDirection : Vector3DescriptionApproximately the direction from the center of the capsule to the point we touch. This can be used to find a reasonable direction to apply forces to touched rigidbodies.
JavaScript
function OnControllerColliderHit(hit : ControllerColliderHit) { using UnityEngine; import UnityEngine |
