Vector3 newpos = panel.transform.worldToLocalMatrix.MultiplyPoint3x4(this.transform.position);
SpringPanel.Begin(panel.gameObject,newpos,8.0f);
I want to set an offset to the newPos and springPanel to that position.
I tried doing newPos += new vector3(0,10,0);
this is isnt working, why?