code: function _getWorldtoLocalMatrix(transform) {
    return function() {
      return Matrix4x4.WorldToLocalMatrix(transform.position, transform.rotation, Vector3.one);
    }
  }
docs: Returns a matrix that transforms a point from world space to local space
  
  @param {Transform} transform
  @returns {Matrix4x4} local to world matrix