playMaker

Author Topic: Swipe Gesture Skip Slide... tried everything - please help  (Read 324 times)

SanosVerd

  • Playmaker Newbie
  • *
  • Posts: 4
    • View Profile
Swipe Gesture Skip Slide... tried everything - please help
« on: September 19, 2018, 03:41:33 PM »
Hi to all. I am working on Slide Show function (where you move slides - but not camera by using Swipe Gesture Event and Animator Play) So I have bunch of slides attached to Game object "Whole" in X direction away from the screen, I have created buttons and animation for each slide and that runs like a dream but since it is going to be released on Mobile Devices, I really want to add same functionality as the buttons but with swiping. So user would have both options. Anyway I created empty game object on Slide 1 Then added fsm to swipe left and that runs like a dream, Then I did the same to slide 2 I added Game object and FSM to swipe right to go back to slide 1 (it work) and then to swipe left to go to slide 3 and that is where I get in trouble. When testing on mobile (Iphone 6) After adding that Slide2 to Swipe Right, Swipe Gesture Event, When starting from Slide 1, it Skips slide 2 and go straight to slide 3. There for it using Animation where it goes from Slide2 to Slide3 or even both animations at the same time. Can't figure way around it... I attached couple of images to get you closer to understand.

Greg

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14698
  • Official Playmaker Support
    • View Profile
Re: Swipe Gesture Skip Slide... tried everything - please help
« Reply #1 on: September 19, 2018, 11:37:47 PM »
Hi,

 It's a likely a logical issue with your indexing and animation ordering.

 Can you debug this inside the Editor using Unity Remote app? this will help.

Let me know how it goes. Send me the scene via pm if you want me to have a look.


 Bye,

 Jean