playMaker

Author Topic: Tween ping pong + inherited motion  (Read 13911 times)

wilmaolson

  • Playmaker Newbie
  • *
  • Posts: 1
Tween ping pong + inherited motion
« on: December 25, 2024, 03:07:29 AM »
Hello,
 I am trying to do some basic movement. A cube that uses tween to ping pong left and right endlessly, but I also want this cube to inherit the motion of it's parent's animation eg. Moving forward.. I've tried every option in the tween node but the tween always overrides (ignores) any inherited transform.

Am I missing something obvious?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15620
  • Official Playmaker Support
Re: Tween ping pong + inherited motion
« Reply #1 on: December 26, 2024, 05:58:24 AM »
Hi,

 what are you using as a tweening engine? iTween, dotween, something else?

 The key here is the tween in local mode your left and right movement. it doesn't really matter what tweening engine you use, you must find the setting that animates locally your transform and you'll be fine.


Bye,

Jean