Relative Content

Tag Archive for flame

Difficult to rotate to the correct angle

In my game, there is a rocket launch animation.
The rocket is at the top of the screen, and the target is at the bottom of the screen. When I select a launch target to launch, there will be an angle rotation error.
The smaller the angle required to rotate to the target, the smaller the error. Conversely, the larger the angle, the larger the error.
enter image description here

How to achieve an animation track from one point to another?

How to achieve an animation track from one point to another? MovingParticle seems to be able to achieve but can only receive one point. I want multiple points, such as a-b-c-d, and the animation time between each two points is different.
There is also a related problem, how to realize the process of moving from a-b to show the animation from opaque to transparent at the same time.
At present, I have realized these two points, but occasionally there is a jam between animations. I want to know if there is a better way