using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace BansheeEngine { /** @addtogroup Physics * @{ */ /// Information about a collision between two physics objects. [StructLayout(LayoutKind.Sequential), SerializeObject] public partial struct CollisionData { /// Components of the colliders that have collided. public Collider[] collider; /// Information about all the contact points for the hit. public ContactPoint[] contactPoints; } /** @} */ }