playMaker

Author Topic: DoTween Actions (DOTween v1.1.310)  (Read 48320 times)

dudebxl

  • Hero Member
  • *****
  • Posts: 602
    • View Profile
Re: DoTween Actions (DOTween v1.0.770)
« Reply #45 on: January 20, 2016, 07:33:36 AM »
Ok cool. That should do the trick. Not the first action with .OnDrawGizmos() which has a problem since 5.3. Thanks for the info.

kici

  • Junior Playmaker
  • **
  • Posts: 63
    • View Profile
    • KZ Development
Re: DoTween Actions (DOTween v1.0.770)
« Reply #46 on: January 31, 2016, 09:19:48 AM »

I have DoTween Pro and is "setup", just downloaded PM actions and I get this error:

Assets/PlayMaker Custom Actions/Dotween Actions/DotweenPathTransformTo.cs(204,38): error CS0115: `HutongGames.PlayMaker.Actions.DotweenPathTransformTo.OnDrawGizmos()' is marked as an override but no suitable method found to override

I simply removed "override" Is this the fix? / no errors now.


Question: Is there a PM Action to change UI Image Script value such as "Fill Amount" (when the image type is selected as filled) ? I'd like to give the button a nice UI DoTween effect to the fill value etc.

Thank you.
« Last Edit: January 31, 2016, 10:01:51 AM by kici »

dudebxl

  • Hero Member
  • *****
  • Posts: 602
    • View Profile
Re: DoTween Actions (DOTween v1.0.770)
« Reply #47 on: January 31, 2016, 02:18:56 PM »
The action U Gui Set Color Block (with everyframe on - but change the bool to fsmbool so you can deactivate when the dotween is finished) with dotween color action (or ease color action as another option) for the button

or

U Gui Graphic Set Color action with dotween color action (or ease color action as another option) for the image


Something like that should work.
« Last Edit: February 01, 2016, 07:09:45 AM by dudebxl »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 4374
    • View Profile
    • jinxtergames
Re: DoTween Actions (DOTween v1.0.770)
« Reply #48 on: March 14, 2016, 06:04:10 PM »
Hi,
Can these Actions be added to the EcoSystem as a package.
FOR HIRE:Playmaker/C#

Playmaker Samples <-------------> Easy Exporter <---------------------> TPA Actions

dudebxl

  • Hero Member
  • *****
  • Posts: 602
    • View Profile
Re: DoTween Actions (DOTween v1.0.770)
« Reply #49 on: March 15, 2016, 06:31:17 AM »
They could, using Github (i think) but they are getting a bit out of date. they really need an update.

If you want, fell free to to add it to your github.

arkdzo

  • Playmaker Newbie
  • *
  • Posts: 16
    • View Profile
Re: DoTween Actions (DOTween v1.0.770)
« Reply #50 on: May 06, 2016, 01:29:08 PM »
1) i want to activate Dotween Path Event (send command transition) with playmaker? How can i do this?
2) where\when can I download actual playmaker actions for Dotween Pro? What is it - https://www.assetstore.unity3d.com/en/#!/content/49222  Is this another actions?
3) Is it correct to removed "override" Is this the fix? / no errors now:

Assets/PlayMaker Custom Actions/Dotween Actions/DotweenPathTransformTo.cs(204,38): error CS0115: `HutongGames.PlayMaker.Actions.DotweenPathTransformTo.OnDrawGizmos()' is marked as an override but no suitable method found to override

« Last Edit: May 06, 2016, 09:43:07 PM by arkdzo »

dudebxl

  • Hero Member
  • *****
  • Posts: 602
    • View Profile
Re: DoTween Actions (DOTween v1.0.770)
« Reply #51 on: May 07, 2016, 10:49:38 AM »
1) i want to activate Dotween Path Event (send command transition) with playmaker? How can i do this? i don't know - i don't understand
2) where\when can I download actual playmaker actions for Dotween Pro? What is it - https://www.assetstore.unity3d.com/en/#!/content/49222  Is this another actions?Different assets. Mine is a personal version that I gave to the community - the other is a paid version by another guy. Mine are out-of date and basic but will work for most basic tweens.
3) Is it correct to removed "override" Is this the fix? / no errors now: Yes since unity5 and PM 1.8 you have to delete the override

DanielThomas

  • Beta Group
  • Full Member
  • *
  • Posts: 124
    • View Profile
Re: DoTween Actions (DOTween v1.0.770)
« Reply #52 on: July 31, 2016, 11:39:38 AM »
Anyone know if there is a way to use DOTween in a similar fashion of iTweenMoveAdd.
Basically I want the object to move one grid from it's own position.

With iTweenMoveAdd you can also set Space to Self, which makes him always move along it's local axis which makes it's easy when it's rotating.

Or will I be forced to do a lot if conditions and store the result in a vector3 to find the next position to move towards?

sebaslive

  • Hero Member
  • *****
  • Posts: 557
    • View Profile
    • Frame Tale Studios
Re: DoTween Actions (DOTween v1.0.770)
« Reply #53 on: July 31, 2016, 12:43:45 PM »
Set it to
  • Relative
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez

DanielThomas

  • Beta Group
  • Full Member
  • *
  • Posts: 124
    • View Profile
Re: DoTween Actions (DOTween v1.0.770)
« Reply #54 on: July 31, 2016, 02:07:28 PM »
Ah yes, thanks!

What about moving along the local axis?

For an example, using Local Move Z, put a value on the vector.z. But when rotating the object in runtime, it still moves along the world Z axis, instead of the objects axis.

I figure this isn't an issue with the actions, I also have the paid actions from the asset store, and they do the same behavior. So I'm thinking it's how DoTween works and I might be missing something. Or is the Local Move not really the 'Space.Self' equivalent?

sebaslive

  • Hero Member
  • *****
  • Posts: 557
    • View Profile
    • Frame Tale Studios
Re: DoTween Actions (DOTween v1.0.770)
« Reply #55 on: July 31, 2016, 02:30:16 PM »
There's a way to do it in vector3 and doing it through x y or z. Do you have it set as a vector 3 or single axis? Try single, that may help.
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez

DanielThomas

  • Beta Group
  • Full Member
  • *
  • Posts: 124
    • View Profile
Re: DoTween Actions (DOTween v1.0.770)
« Reply #56 on: July 31, 2016, 06:04:33 PM »
Tried both, no dice, they give same result.

Something though, If I put the object as a child in an empty parent. Then on the rotationLocal I rotate the parent - this makes the moveLocal to actually move along the axis correctly. Problem is that the parent doesn't move with the child, so rotating the parent when child is somewhere else makes the pivoting all wrong and not pivoting around the child position.

And I can't change the MoveLocal object to parent, then it's back where we started, moving along world axis.

Just don't get how it's suppose to work. iTween it worked when you set 'space' to self. I realize they are different, but I somewhat thought the moveLocal was the same thing. Maybe there are some special rules how DoTween should work considering it works when rotating a parent to the object.

sebaslive

  • Hero Member
  • *****
  • Posts: 557
    • View Profile
    • Frame Tale Studios
Re: DoTween Actions (DOTween v1.0.770)
« Reply #57 on: August 01, 2016, 12:29:46 PM »
You're right, I couldn't get it to work either even in the code from the documentation. Maybe Daniele, the creator, can assist with this.
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez

DanielThomas

  • Beta Group
  • Full Member
  • *
  • Posts: 124
    • View Profile
Re: DoTween Actions (DOTween v1.0.770)
« Reply #58 on: August 01, 2016, 02:28:13 PM »
Thanks for giving it a go, atleast I know it's not only me.
Yes, I'm asking in the official forums and unity thread. I'll post here if I get a solution.

sebaslive

  • Hero Member
  • *****
  • Posts: 557
    • View Profile
    • Frame Tale Studios
Re: DoTween Actions (DOTween v1.0.770)
« Reply #59 on: August 01, 2016, 02:32:45 PM »
Likewise, I will also post when/if I get a reply from the dev. He mentioned that the move local is to move itself locally from the parent.
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez