MinieLibrary/src/main/java/com/jme3/bullet/util/DebugShapeFactory.java
/**
     * Generate a Transform that maps the Y-Z plane to the surface of the
     * specified PlaneCollisionShape.
     *
     * @param shape (not null, unaffected) units, &gt;0)
     * @return a new Transform with scale=1
     */
Generate a Transform that maps the Y-Z plane to the surface of the
specified PlaneCollisionShape.

@param shape (not null, unaffected) units, >0)
@return a new Transform with scale=1
Generate a Transform that maps the Y - Z plane to the surface of the specified PlaneCollisionShape . @param shape ( not null unaffected ) units > 0 ) @return a new Transform with scale = 1
private static Transform planeTransform(PlaneCollisionShape shape) {
        Transform result = new Transform();
        Plane plane = shape.getPlane();
        plane.getClosestPoint(translateIdentity, result.getTranslation());
        Vector3f v1 = plane.getNormal();
        Vector3f v2 = new Vector3f();
        Vector3f v3 = new Vector3f();
        MyVector3f.generateBasis(v1, v2, v3);
        result.getRotation().fromAxes(v1, v2, v3);
        return result;
    }
private static Transform planeTransform ( PlaneCollisionShape shape ) { Transform result = new Transform ( ) ; Plane plane = shape . getPlane ( ) ; plane . getClosestPoint ( translateIdentity , result . getTranslation ( ) ) ; Vector3f v1 = plane . getNormal ( ) ; Vector3f v2 = new Vector3f ( ) ; Vector3f v3 = new Vector3f ( ) ; MyVector3f . generateBasis ( v1 , v2 , v3 ) ; result . getRotation ( ) . fromAxes ( v1 , v2 , v3 ) ; return result ; }
Generate a Transform that maps the Y-Z plane to the surface of the
 specified PlaneCollisionShape.
Generate a Transform that maps the Y - Z plane to the surface of the specified PlaneCollisionShape .