intersectRay( ray, target ) {

		// the idea is to perform the intersection test in the local space
		// of the OBB.

		this.getSize( size );
		aabb.setFromCenterAndSize( v1.set( 0, 0, 0 ), size );

		// create a 4x4 transformation matrix

		matrix.setFromMatrix3( this.rotation );
		matrix.setPosition( this.center );

		// transform ray to the local space of the OBB

		inverse.copy( matrix ).invert();
		localRay.copy( ray ).applyMatrix4( inverse );

		// perform ray <-> AABB intersection test

		if ( localRay.intersectBox( aabb, target ) ) {

			// transform the intersection point back to world space

			return target.applyMatrix4( matrix );

		} else {

			return null;

		}

	}
Performs a ray/OBB intersection test and stores the intersection point
in the given 3D vector.

@param {Ray} ray - The ray to test.
@param {Vector3} target - The target vector that is used to store the method's result.
@return {?Vector3} The intersection point. If no intersection is detected, `null` is returned.