Search Unity

  1. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Let us know a bit about your interests, and if you'd like to become more directly involved. Take our survey!
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  5. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

[RELEASED] PlayMaker Actions for EasyTouch

Discussion in 'Assets and Asset Store' started by devandart, Dec 19, 2014.

  1. devandart

    devandart

    Joined:
    Jun 7, 2013
    Posts:
    143
    Hi,

    I created a package of actions for PlayMaker that integrates almost all EasyTouch functions (getters, setters...) and gesture events for EasyTouch 4.x
    For each gesture you are able to store any of the gesture properties into variables.

    At the moment there are round about 50 Actions.

    To use this package you will need the PlayMaker and EasyTouch assets.

    The Asset is available here.

    Workflow
    1. Add PlayMaker
    2. Add EasyTouch
    3. Import both into the scene
    4. Add these package
    5. Use all EasyTouch Functions/Gestures in PlayMaker

    EasyTouchGesture Action Store Values



    EasyTouchGesture Action Gestures
    Simply choose the gesture you want to use and set the Send Event for it



    Thank you.
     
    Last edited: Apr 20, 2015
  2. devandart

    devandart

    Joined:
    Jun 7, 2013
    Posts:
    143
    I added a new example scene where you have a maze in 3D rotating by swipes.

    You can try it HERE.



    This is the PlayMaker FSM for the maze rotation, easy!

    The package contains a action that converts 2D Vectors to 3D vectors with individual directions (Vector3 X Value = Vector2 Y Value for e.g.)
     
    Last edited: Dec 23, 2014
  3. ctknoxville

    ctknoxville

    Joined:
    Oct 1, 2013
    Posts:
    32
    I think it's an excellent idea. Are you planning to put on Asset Store?
     
  4. devandart

    devandart

    Joined:
    Jun 7, 2013
    Posts:
    143
    Thank you, yes I will put it on asset store. :)
    The current version works great in my tests, so I think it's ready except of store images.
     
  5. greedygoblins

    greedygoblins

    Joined:
    Sep 11, 2013
    Posts:
    4
    Looks very easy to use. Shame I don't have Playmaker though. Having built my own visual scripting engine makes me reluctant to buy another. Just need to get mine working with Unity. LOL!
     
  6. devandart

    devandart

    Joined:
    Jun 7, 2013
    Posts:
    143
    The Asset is now available here.
    I also updated the link in the first post.

    Hope you like it and feel free to ask if you have any questions!
     
  7. devandart

    devandart

    Joined:
    Jun 7, 2013
    Posts:
    143
    For those who bought this asset, thank you and I hope you like it!

    If you wish more example scenes or other cool things to make this package better, please tell me. ;)
     
  8. devandart

    devandart

    Joined:
    Jun 7, 2013
    Posts:
    143
    Only for information:

    I submitted version 1.1 to work with the new EasyTouch 4.0 version.
    The PlayMaker Actions for EasyTouch 3.1 are also included as unitypackage to work with the "old" version if you can't upgrade your project.

    If you import them you should first delete the latest Actions, because they won't work with 3.1.

    I hope the update gets reviewed fast. :) I will inform when it's online.
    If you need it before send me an e-mail with invoice number and I'll send it to you manually.

    Regards
     
  9. devandart

    devandart

    Joined:
    Jun 7, 2013
    Posts:
    143
    Version 1.1 of PlayMaker Actions For EasyTouch is now available in store to support both, EasyTouch 3.1 (as a backup) and EasyTouch 4.

    You can get it here http://u3d.as/aM0

    Regards
     
  10. devandart

    devandart

    Joined:
    Jun 7, 2013
    Posts:
    143
    Version 1.1.1 is now available.
    It includes actions to handle EasyTouch Button events and Joystick/D-Pad/Touchpad values.

    Asset Store: http://u3d.as/aM0
     
  11. devandart

    devandart

    Joined:
    Jun 7, 2013
    Posts:
    143
    Version 1.1.2 is now available.

    Added:
    - New Example scenes
    Modified:
    - Added new swipe types (up right, up left etc.) to EasyTouchCompareSwipeType Action
     
  12. devandart

    devandart

    Joined:
    Jun 7, 2013
    Posts:
    143
    Version 1.1.3 is now available on store with some more example scenes:

    - DragCamera
    - DragObject
    - TapASpecificObject
     
  13. oddbody

    oddbody

    Joined:
    Apr 8, 2014
    Posts:
    4
    Hi,

    The latest examples really help to get up and running quickly for newbies like me.
    Something I would like to see added to the actions is the possibility to specify an
    individual object for the touch interaction. The tap a specific object example shows
    how to work round this, but this would be simpler :

    thanks,

    oddbody
     

    Attached Files:

  14. devandart

    devandart

    Joined:
    Jun 7, 2013
    Posts:
    143
    Update is on the way.
    After approval the new action is called EasyTouchTapGesture.
     
  15. Infernomaster

    Infernomaster

    Joined:
    Jan 20, 2013
    Posts:
    16
    Hi,
    Thank you for making this asset, It's very very helpful and versatile. I did just encounter an issue tho.
    In the frog example the frog is not moving an not rotating. It just sometimes flies up at random

    EDIT:
    Nvm, I figured it out once I gave a look at it. It was just a missuse of x's, y's and variables in converting vector2 to vector3. For those who are interested: this is how i fixed it:
     
  16. devandart

    devandart

    Joined:
    Jun 7, 2013
    Posts:
    143
    Hi,
    thank you for solving the error and sharing it with the community. :)
    I will include the fix in the next update.
     
  17. devandart

    devandart

    Joined:
    Jun 7, 2013
    Posts:
    143
    New Update Available:
    Added:
    - EasyTouchTapGesture to easily tap specific objects without workaround

    Changed:
    - TagSpecificGameObject scene replaced through new EasyTouchTapGesture

    http://u3d.as/aM0
     
  18. Vern_Shurtz

    Vern_Shurtz

    Joined:
    Mar 6, 2009
    Posts:
    252
    Hello,

    I am setting up a simple Orbit Cam with panning using EasyTouch, PlayMaker, and this collection of actions. I basically have a cube with the swipe to change it's position and twist to rotate it. (See DragCamera and TwistCube example scenes since I basically have both of these applied to one cube.) I mapped the swipe Vector2 Y to Vector3 Z in order to move the cube along it's X and Y axis. I mapped the cubeAngle to Y in order to rotate the cube on it's Y axis. I have a camera with a Smooth Follow Action on it with the cube as the target object.

    Everything works great until I rotate the cube. Swipe moves the cube in relation to the world and not the cubes current orientation. For example, if I rotate the cube 180 degrees then the swipe motion has the opposite effect. Swipe right object moves left. Changing the Get Position and Set Position Actions Space from World to Self or any combintation of these values has no effect.

    I need to have a solution that will position the cube using it's local orientation. For example. A swipe up will always move the cube along it's positive Z axis and a swipe right will move the cube along it's positive X axis.

    Any help would be greatly appreciated. :)
     
  19. devandart

    devandart

    Joined:
    Jun 7, 2013
    Posts:
    143
    New Update is available:
    Added:
    - EasyTouchSetGameObjectToTouchPosition Action and example Scene

    The new action/example scene let you move objects by dragging or tapping directly to your finger position in 3D space

    Vern_Shurtz: Sorry for the late response, you better should contact me through E-Mail because I'm not that often online here. Did you solve your problem?