Skip to content

Prime Tween have a tween like iTween RotateBy ? #73

Answered by KyryloKuzyk
OscarLeif asked this question in FAQ
Discussion options

You must be logged in to vote

You can do this in PrimeTween with Tween.EulerAngles():

Tween.EulerAngles(transform, transform.eulerAngles, transform.eulerAngles + new Vector3(0, 0, 360), 1);

More info on this topic:
Getting Started section
https://docs.unity3d.com/ScriptReference/Transform-eulerAngles.html
https://forum.unity.com/threads/primetween-high-performance-animations-and-sequences.1479609/page-2#post-9336551

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@KyryloKuzyk
Comment options

Answer selected by KyryloKuzyk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
FAQ
Labels
None yet
2 participants