Control the Controllers

So, I’m using @Nat’s controllers to make a came but I also have buttons on the screen that I need to be able to push and I can’t figure out how to stop the controllers from activating everywhere. Anyone know? Thanks!

I made a version of these controllers where you specify the active zone

It is in the 3d simulation source

I remember i also posted it a specific discusssion on controllers, but can find it (forum google search is broken on ipad1)

I found it :

Oh, weird, my comment didn’t post… what I think it was before Just don’t call controller:touched(touch) when you know you’re in a menu, or modify the controller’s touched function to make sure the finger isn’t over a button.

…Apparently you use asterisks for italic…

@Jmv38, that’s perfect, thanks so much!

Edit: Oh ya, asterisks for italic. Nice :slight_smile:

I think underscore works too.

Edit: YEP!

Edit: … Apparently if you have both, that works too. Interesting

@LaserGate_coder, this is a 2 year old discussion. Please check the date before posting

@CodeaNoob That’s wonderful. Does it matter?

@LaserGate_coder Yes, because you bumped a 2-year-old dead discussion to the very top of the forums…

@LaserGate_coder - yes, because it’s annoying reading through several comments before realising they’re all very old.