Godot Version
4.2.2
Question
It doesn’t matter how animation is played (tweens, animationtrees and everything is alright). Also it’s in 3d.
4.2.2
It doesn’t matter how animation is played (tweens, animationtrees and everything is alright). Also it’s in 3d.
So you want to start an animation at a specific timestamp and end it at a specific timestamp?
Not exactly, I want to make an animation/function which can return an item into pre-set rotation from any rotation.
For example I have X rotation and I want to return it to 180 degrees no matter what are X’s degrees
So X rotation could be 50, 180, -11 or whatever degrees and it would still return to 180
It is possible with tween. Do you want to know how?
Wait nevermind, I have an idea
Yea I don’t know why I thought it wouldn’t work. I just subtract the current position from target position with some additional math and stuff.
Sadly for some reason parallel tweens are not working for me, can somebody help me out quickly
Figured it out myself.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.