- Home /
Question by
boxunz · Dec 20, 2017 at 03:08 AM ·
rotationquaternionrotatecoroutineeulerangles
How to rotate an object around another 60 degrees with a keypress?
i tried transition.rotateAround. ,But its not smooth, its like a sudden transition. How do i do it smoothly?
Comment
but it only works with self rotation, how do i apply to object rotate around another object?
Something like this ?
gameObject.transform.RotateAround(target.position,Vector3.up, Vector3.forward,speed*Time.deltaTime);
are you sure that you didn't forget to add "Time.deltaTime"
how do i rotate an object a specific angle if i add Time.deltaTime ?
Your answer
Follow this Question
Related Questions
Rotating a model with increments 1 Answer
screw changes direction of screwdriver 0 Answers
Rotation Jumping values (0 to 180) 1 Answer
When applying a 90 degree rotation to Euler Angles, it is over/undershooting sometimes.. 2 Answers
Transform.Rotate producing unexpected results when being used after setting localEulerAngles 0 Answers