> this.transform.rotation = Quaternion.Lerp(this.transform.rotation, Quaternion.Euler(xtimesHit*90,ytimesHit*90,ztimesHit*90), Time.deltaTime*speed);
The above code is rotating my object w.r.t itself. How can I make it rotate w.r.t. the world space?
↧