LookAt() and Rotate() - how to use them at the same time?
Hello every one! How to use LookAt() and Rotate() at the same time?? is there any way ??
i know they are both about rotation but i can not find any way to make them work.
I have LookAt() method to simulate arc like fly path of the bows arrow then Rotate() to make it spin in Update()
void Fly() { transform.LookAt(transform.position + myRigidBody.velocity); transform.Rotate(0, 0, speed * Time.deltaTime); }
Comment
Your answer
Follow this Question
Related Questions
Arrow, Spinning and rotating toward the tip 0 Answers
How do I move my 2d sprite left and right but also rotate in- place! 1 Answer
How do I rotate a game object around a custom pivot? 1 Answer
Rotate Camera in Y axis without visibly changing angle in Z axis 2 Answers
transform.rotation interferes with transform.Rotate 1 Answer