playMaker

Author Topic: Offset Rotation[SOLVED]  (Read 1004 times)

stigma

  • Full Member
  • ***
  • Posts: 177
Offset Rotation[SOLVED]
« 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
« Last Edit: May 06, 2020, 04:34:48 PM by stigma »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Offset Rotation
« Reply #1 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

stigma

  • Full Member
  • ***
  • Posts: 177
Re: Offset Rotation
« Reply #2 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
« Last Edit: May 06, 2020, 04:36:41 PM by stigma »