using UnityEngine; namespace MenteBacata.ScivoloCharacterController { public struct MoveContact { /// /// World space position of the contact point. /// public readonly Vector3 position; /// /// Normal of the plane tangent to the capsule at the contact point. /// public readonly Vector3 normal; /// /// Collider of the object on which the contact happened. /// public readonly Collider collider; public MoveContact(Vector3 position, Vector3 normal, Collider collider) { this.position = position; this.normal = normal; this.collider = collider; } } }