playMaker

Author Topic: Touch Object doesn't work  (Read 2325 times)

sein

  • Playmaker Newbie
  • *
  • Posts: 3
Touch Object doesn't work
« on: June 27, 2012, 02:43:18 AM »
Hello,

I'm trying to make a menu with 3d objects to be interact with on smartphone using Touch Object Event. Everything works fine on pc, even when debugging I see the flow working fine. But when I make a built for the android nothing works.

I made a result screen before where you can touch the button to restart or exit the whole game and it works fine. Funny thing is that the first time it didn't work so I have to built the whole thing from the start. I used the same methods with the main menu but it just wont work no matter what the touch wont register to the objects.   

can you please explain if there is a problem?

Note: I am aware of the colliders issues.

sinman

  • Playmaker Newbie
  • *
  • Posts: 14
Re: Touch Object doesn't work
« Reply #1 on: July 04, 2012, 04:20:06 AM »
I had a similar problem and it was because I messed around with the main camera. If it's deactivated at start and if you activate it later, touch doesnt seem to work. Bug?

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: Touch Object doesn't work
« Reply #2 on: July 04, 2012, 11:34:05 AM »
Touch Object needs an active camera tagged as MainCamera.

I've added an error to catch this in the next update.

I'd have to double check, but I believe if it doesn't find a MainCamera the action shuts down... I'll look into this...