Hello!
I've been working with Playmaker a fair amount and love it.
I was hoping to get some suggestions as to how best approach swapping objects for a customization interface.
Let's say you have an app that lets you customize a living room. There's a GUI that lets you choose between several chairs - a rocking chair, a recliner, an armchair - for a certain corner. I've found it easy enough to daisychain the object activations in Playmaker, so that a hypothetical "corner chair" button switches between each in turn.
But I'd prefer to have a button for each chair. And when I've tried setting up this kind of functionality, I found things got clunky fast. The only way I could get it to work was to have each button send an "off" command to its own unique list of every chair before sending an "on" command to the chair I want to activate.
I did something like this for a character viewer once, and it got tortuous to add a new character to the mix - every "turn off" list had to be updated with each new character added!
I used to do something similar switching between cameras, but then discovered a camera-cut command that made it so much simpler - just specify the camera to which you want to cut and there's no need to turn off all the others.
This custom Set Visibility command looks like it might be promising:
http://hutonggames.com/playmakerforum/index.php?topic=159.0Especially if it can deactivate objects by tag - I could tag all the chairs with a "chair" tag, and easily turn them all off before activating the specified chair.
But I'm hoping there's an even cleaner, simpler approach to this kind of thing that I might be overlooking, something along the lines of the camera-cut command.
Any suggestions would be very welcome.
Thanks!