Demigiant Forum

Unity Assets => DOTween & DOTween Pro => Topic started by: pdz on September 04, 2015, 04:22:20 PM

Title: 'Move to' tween to a transform that is also moving
Post by: pdz on September 04, 2015, 04:22:20 PM
I am looking at buying the pro version of the plugin but am curious to know if this functionality is supported or not.

I want an orb to move towards a player who is also moving. How can I achieve this functionality? Looking at the docs, all of the movement parameters take vector parameters, but I want to pass a transform parameter or a gameobject, so the end position of the tween is kept up to date.
Title: Re: 'Move to' tween to a transform that is also moving
Post by: Daniele on September 08, 2015, 11:41:26 AM
Hi,

I just updated the examples package (http://dotween.demigiant.com/examples.php) with a Follow script, so check that out. And you don't need the Pro for that, you can use the free version directly.

Cheers,
Daniele
Title: Re: 'Move to' tween to a transform that is also moving
Post by: pdz on September 15, 2015, 09:53:07 AM
Hi,

I just updated the examples package (http://dotween.demigiant.com/examples.php) with a Follow script, so check that out. And you don't need the Pro for that, you can use the free version directly.

Cheers,
Daniele

That is exactly what I was looking for. Thanks for the reply.