Home LittleBigPlanet 2 - 3 - Vita - Karting LittleBigPlanet 2 [LBP2] Help!
#1
Turning Emitters On and Off
Archive: 6 posts
I've got a situation in my level where I want the emitter to emit when I press one particular button and it to stop emitting when I press any one of 3 other different button. I've tried a combination of: - button to emit into one selector inpit - 3 other buttons into an XOR and then into 2nd selector input - selector input 1 to a toggle - selector input 2 to a toggle - both toggle outputs into an XOR gate - XOR gate to emitter Problem was, the toggles don't reset to their original state and therefore pressing the button to emit twice would mean one time it would emit and the next time it would turn it off and the same but opposite way round for the other three buttons. Is there a way to reset the toggles, or another way to make this work? Thanks | 2011-01-31 19:56:00 Author: idontknow92 Posts: 29 |
Use a counter set to 1 with one button hooked up into the input, and then the other three into an OR gate that then goes into the reset. | 2011-01-31 19:59:00 Author: Doopz Posts: 5592 |
Use a counter set to 1 with one button hooked up into the input, and then the other three into an OR gate that then goes into the reset. That works as long as I press the button to emit first. But if I'm already pressing one of the 3 buttons and then I press the button to emit, it still emits and I don't want it to. Is there any way to get around that? | 2011-01-31 20:23:00 Author: idontknow92 Posts: 29 |
run the switch that triggers the emitter through an AND gate that is also connected to NOT gates connected to your other buttons. then when the switch is triggered it'll only activate the emitter if you also arent holding one of the other buttons. | 2011-01-31 20:28:00 Author: Deftmute Posts: 730 |
run the switch that triggers the emitter through an AND gate that is also connected to NOT gates connected to your other buttons. then when the switch is triggered it'll only activate the emitter if you also arent holding one of the other buttons. Thank you very much! | 2011-01-31 20:47:00 Author: idontknow92 Posts: 29 |
I have already attempted this in LBP1 with little success, but now that the tools are a bit enhanced, I have a question that is in the same line as this thread. I had help with this a few months back, but it was highly unstable. I want the user to have the ability to turn on an emitter to get a specific object and turn it off (thus making that object disappear). Problem im having is, when the object is turned on and it emits the object, when I turn off the emitter, the object remains behind. Basically, the user can toggle between four objects and turn on one at a time and if they choose another, then the object they had previously would be gone... I have set the emitter to 'one shot' and only 1 emitted at a time with infinite lifespan (It's crucial that it can stay on for as long as the user needs). Ideas? Thanks in advance! | 2011-02-11 20:12:00 Author: John82wa Posts: 221 |
LBPCentral Archive Statistics
Posts: 1077139
Threads: 69970
Members: 9661
Archive-Date: 2019-01-19
Datenschutz
Aus dem Archiv wurden alle persönlichen Daten wie Name, Anschrift, Email etc. - aber auch sämtliche Inhalte wie z.B. persönliche Nachrichten - entfernt.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.