Home    LittleBigPlanet 2 - 3 - Vita - Karting    LittleBigPlanet 2    [LBP2] Tutorials
#1

Fixing Wonky Advanced Movers

Archive: 7 posts


Are you using an OR gate to combine inputs leading to an advance mover? Have you noticed how if you tilt the stick slightly in one direction, you usually move in the opposite direction instead? It can be quite annoying, but have no fear, I'm here to help you fix it!

It happens because an OR gate will always accept its highest value input and sends it out its output. If you're tilting your stick slightly, say, at 30% of its maximum value, your OR gate is accepting two inputs: an input of 30% from your stick, and an input of 100% (or -100%) from your other input--so it picks the highest value and sends a signal of -100% to your mover, resulting in moving the opposite direction. Even if your setup isn't exactly like that, the following chip should still fix wonky advanced mover behaviors:

http://i52.tinypic.com/24g6sgl.jpg

The top input is your up/down stick input, and the bottom one is your left/right input. The notes on the chips with the batteries that read 100 and -100 represent the battery's signal strength, 100% and -100% respectively. Note that the directional splitters are wired into the battery chips' activate input, located at the bottom of the microchip.

Wire in your left/right and up/down stick inputs and you're golden! You can tweak the advanced mover to be whatever speed or acceleration/deceleration you need.

Also, if you want your sick to still output an analog value to control the speed of your advanced mover accurately, you can wire both the up/down and left/right stick outputs into an OR gate, then wire the OR gate into the advanced mover's Speed Scale input (it will default to on/off, you can change this in the tweak menu).
2011-10-05 22:06:00

Author:
xero
Posts: 2419


in the example you have used there is no need for the extra logic, simply wire directly from the stick to the mover. using batteries in chips as you have removes analog input so you have either full speed or stop, not every other speed in between like you would if you wire directly2011-10-06 11:16:00

Author:
evret
Posts: 612


in the example you have used there is no need for the extra logic, simply wire directly from the stick to the mover. using batteries in chips as you have removes analog input so you have either full speed or stop, not every other speed in between like you would if you wire directly

I think you're missing the point... did you read the post entirely?

My tutorial is a fix for undesired movement--i.e. if you tilt the stick on one direction only slightly and the object/sackbot moves in the opposite direction. And besides, you can retain analog values if you tweak the advanced mover's input to be speed scale, then wire both sick outputs to an OR gate, then the OR gate into the speed scale input of the advanced mover.
2011-10-06 19:06:00

Author:
xero
Posts: 2419


so your saying it's to give players the option of 2 diff controls? in that case your better off just using 2 diff movers, and either turning off the one that isnt being used, or setting deceleration on one to 0% and the other to the desired deceleration.2011-10-06 21:02:00

Author:
evret
Posts: 612


I dont get it. What its for, you can do what evret said.2011-10-06 21:35:00

Author:
StaticLinuxpro
Posts: 482


No... I'm saying that if your mover behaves strangely this will fix it. I also explain exactly what kind of strange behavior I'm talking about, and why it happens.

I'm a little busy at the moment, but I'll give an example later to clarify.
2011-10-06 22:03:00

Author:
xero
Posts: 2419


No... I'm saying that if your mover behaves strangely this will fix it. I also explain exactly what kind of strange behavior I'm talking about, and why it happens.

I'm a little busy at the moment, but I'll give an example later to clarify.

seems to me as though your issues are coming from using the OR gates, why do you have them in the setup??

if you just want to control the mover with the analog stick, you just wire directly from the stick to the corresponding input on the mover. i dont see why you would be trying to use OR gates at all, they are just causing you problems

If you want to use 2 diff controls with one mover with OR gates, the following method Is the best way to avoid sign issues.
Wire each up/down output into a spliter, wire both positive outputs to an OR, then both negative outputs to another OR, then wire both ORs into a combiner, then wire the combiner into the up/down input of the mover. Then repeat the process for both left/right wires.

what was your original setup? (the one that was causing you problems)
2011-10-06 22:25:00

Author:
evret
Posts: 612


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.