/// <summary> /// Initializes a new instance of the <see cref="StaticPlaneColliderShape"/> class. /// A static plane that is solid to infinity on one side. /// Several of these can be used to confine a convex space in a manner that completely prevents tunneling to the outside. /// The plane itself is specified with a normal and distance as is standard in mathematics. /// </summary> /// <param name="normal">The normal.</param> /// <param name="offset">The offset.</param> public StaticPlaneColliderShape(Vector3 normal, float offset) { Type = ColliderShapeTypes.StaticPlane; Is2D = false; InternalShape = new BulletSharp.StaticPlaneShape(normal, offset); }