In/Out Touch Material Tutorial
A user at LittleBigPlanetarium was wondering how to make a material move in and out when touched, like in the main story. Here is the tutorial I posted, I hope it helps!
http://www.littlebigplanetarium.com/...or-rear-touch/
http://ia.api.vita.lbp.me/img/ft/37a...1eb1727d17.jpg
-I have two TOUCH SENSORS for both the rear and front touch screen. The difference between the two sensors is the Activation Gesture, I have both Touch and Swipe. This allows you to touch to the Touchable Material as well as swipe across a Touchable Material to make them all push in or out.
-The touch sensors are going into an OR gate, which leads into a SELECTOR. The SELECTOR makes it so you cannot repeat a front or rear touch and send the Touchable Material out or in more times than intended. If the Touchable Material is in a position, out or in, the opposite action is the only action that can affect the Touchable Material. For example, if you have just touched the Touchable Material with the front screen it will push in once. Now the only action that will affect the Touchable Material is the opposite action, the rear touch pad pushing the Touchable Material out once.
-The top output of the SELECTOR sends the Touchable Material in once. The bottom port sends the Touchable Material out once as well as turning the Touchable Material on.
-When the Touchable Material is on it is blue, when it is off it is green. You can accomplish this by tweaking the Touchable Material so "Visuals When On" is blue with Brightness at 100% and when Touchable Material is off, "Visuals When Off" is set to Green with brightness 100%.
http://i2.api.vita.lbp.me/img/ft/9b2...dccc7ea0c1.jpg
http://i8.api.vita.lbp.me/img/ft/718...b5fd3687d1.jpg
-Lastly there is an Anti-Gravity Tweaker with Anti-Gravity at 0%, Dampening 100%, and Zero Buoyancy at 0%. This makes it so the block will not move but can move in and out.
Remember, if you are using a material other than Touchable Material you will need a TOUCH TWEAKER. This will make it so that whatever material you have chosen can be touched. You will want to teak the TOUCH TWEAKER so that Touch Movable is set to "Touch Movable: Touchscreen or Rear Touch Pad."
Hope this helps, I can also gift you the object/logic if you aren't following the tutorial.