Rotate around the x/y/z axis while keeping its angle? #93
-
// Rotate 'transform' around the y-axis by 360 degrees in 1 second
Tween.EulerAngles(transform, startValue: Vector3.zero, endValue: new Vector3(0, 360), duration: 1); I tried with a cube |
Beta Was this translation helpful? Give feedback.
Answered by
KyryloKuzyk
Aug 23, 2024
Replies: 1 comment
-
Try this:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
KyryloKuzyk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try this: