public Matrix4 getPositionalMatrix(Matrix4 offset) { lock (this.location) { Location l = this.getLocation().clone(); Matrix4 positionMatrix = Matrix4.Transformation( l.getAsVector(), l.getRotationQuaternion(), new Vector3((float)this.scaleX, (float)this.scaleY, (float)this.scaleZ) ); l.Dispose(); return(offset * positionMatrix); } }