Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: stigma on February 26, 2020, 03:14:54 AM

Title: Offset Rotation[SOLVED]
Post by: stigma on February 26, 2020, 03:14:54 AM
Hello
I have this problem that I cannot solve. A rotating object that shifts. I use Rotate + wait. After a while the offset appears.
If I remove the wait it works but there is no rotation and it is less beautiful.
I did not find a doc on "Last Update" and "Fixed Update". But if I use them the problem is not solved.
Unity 5.6.2 and Playmaker 1.8.4
Thank you
(http://www.maximages.fr/forums/3D/playmaker/rotate.jpg)
Title: Re: Offset Rotation
Post by: jeanfabre on February 26, 2020, 08:04:51 AM
Hi,

Is it not because you exit the state before the rotation action?

 I would use a proper tweening, can be manual tho ( EaseFloat action for example ). simply animate a float and use that as the angle.

Bye,

 Jean
Title: Re: Offset Rotation
Post by: stigma on February 29, 2020, 09:41:25 AM
I solved the problem by fixing the RotateLocation at each turn.
it also works for the same problems with Translate.

Edit:
I specify that the lag, tiny, added up at each turn. To make the shift like my screen, there were about 20 laps