#1
How do you make a sackbot "attack" when facing a certain direction? (Left and Right)
Archive: 9 posts
I got the attacking covered but I need to have the sackbot attack from the left... | 2011-07-22 00:34:00 Author: PetStars ![]() Posts: 91 |
![]() ![]() ![]() ![]() | 2011-07-22 00:37:00 Author: Zero10100 ![]() Posts: 385 |
well you weren't very specific but here goes. get a direction splitter and a 2 port selector. Then Hook up the left stick to the direction splitter and bothe outputs of the splitter to the selector. Second get two AND gates. hook up the outputs of the selectors to each AND gate. Finally connect the button you use for the attack to the other port of the and gate. Then hook up up the AND gate to the emiiter or whatever you use for the attack. Hope that helped. | 2011-07-22 02:57:00 Author: fighterwindplus ![]() Posts: 403 |
Oh i'm sorry, I have recorded "attacks" from the sackbot chip and I have an animation that emits when they "attack." So the question is, I can only attack facing right, but how do I attack facing left with it emitting to the left instead of right? | 2011-07-22 04:11:00 Author: PetStars ![]() Posts: 91 |
For the player follow Ghost's instructions. If you need it for bots all you need is a 180* player sensor on each side wired to the emitters | 2011-07-22 04:18:00 Author: Zero10100 ![]() Posts: 385 |
Thanks, i'll try it. | 2011-07-22 04:30:00 Author: PetStars ![]() Posts: 91 |
Oh i'm sorry, I have recorded "attacks" from the sackbot chip and I have an animation that emits when they "attack." So the question is, I can only attack facing right, but how do I attack facing left with it emitting to the left instead of right? Well in case you still need this, Just make two different recordings with one action left and one action right. | 2011-07-22 07:04:00 Author: fighterwindplus ![]() Posts: 403 |
Could you make that clearer, because i got confused with the AND gates part and it doesn't work at all for me... | 2011-07-22 21:54:00 Author: PetStars ![]() Posts: 91 |
Wire the L/R outputs of the left stick into a splitter Wire the outputs into different AND gates Wire the attack button into the AND gates Wire positive AND gate into the right attack Wire the negative AND gate into the left attack | 2011-07-22 22:03:00 Author: Zero10100 ![]() Posts: 385 |
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.