Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: sein on June 27, 2012, 02:43:18 AM

Title: Touch Object doesn't work
Post by: sein 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.
Title: Re: Touch Object doesn't work
Post by: sinman 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?
Title: Re: Touch Object doesn't work
Post by: Alex Chouls 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...