Home LittleBigPlanet 2 - 3 - Vita - Karting LittleBigPlanet 2 [LBP2] Help!
#1
Adding Signals
Archive: 5 posts
Is it possible to add analog signals? | 2011-11-10 21:06:00 Author: ThisDudeRufus Posts: 170 |
yes you can. Here's a really good blog post on just that very thing. http://www.lbpcentral.com/forums/entry.php?2107-Analogue-Logic-2-Sorting-amp-Addition | 2011-11-10 21:42:00 Author: tdarb Posts: 689 |
If you think rtm's words are too logical and hard to follow (and since this blog has loads of things), here's the answer (I didn't learn that from the blog though) NOT gates do 100 minus signal. It also keeps the same sign, so a -25 would turn into -75. You can add by subtracting using combiners. See, let's use parenthesis. 100-(100-a-b) = 100-100+a+b Now if you use not gates, NOT(NOT(signalA) - signalB) Unclear? Just past a signal through a NOT gate, then do a subtraction, then pass it through another NOT gate. Now what if the signal turns negative ? I mean if I add 50 and 60, it would do NOT(50)=50, then 50-60=-10, and then NOT would do -90 which has no sense at all! Just before the last NOT, you must discard any negative signal using a signal splitter. Then pass the positive output through the NOT. So it's this : A====NOT====(+)Combiner====Splitter(+)====NOT====O utput B============(-)Combiner Now there's a way to combine two signals so it uses the signal's signs. I don't know how to build it, but it is in the Creator's Toolkit and (taken from it and placed) in my Health Meter Toolkit. Just type @creatorstoolkit on level search on the ps3. | 2011-11-10 22:35:00 Author: Unknown User |
If signal B is negative, would that still work? I thought the bottom signal in a combiner is made into its absolute value. | 2011-11-10 23:24:00 Author: ThisDudeRufus Posts: 170 |
If signal B is negative, would that still work? I thought the bottom signal in a combiner is made into its absolute value. That is correct, it will use the absolute values. BUT, if you first pass each signal through a direction splitter you can separate positive signals from negative and handle them separately. Then recombine them at the and to get your final value. This is all covered in rtm's blog post (linked above). So all we need to do is to split the values, add up all of the positive components, add up all of the negative components and then subtract the latter from the former: There's also a picture and more detailed info about the process. | 2011-11-11 02:39:00 Author: tdarb Posts: 689 |
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.