Playmaker Forum

PlayMaker News => General Discussion => Topic started by: wilmaolson on December 25, 2024, 03:07:29 AM

Title: Tween ping pong + inherited motion
Post by: wilmaolson 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?
Title: Re: Tween ping pong + inherited motion
Post by: jeanfabre 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