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:
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).
Results 1 to 7 of 7
Thread: Fixing Wonky Advanced Movers
Fixing Wonky Advanced Movers
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
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.
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.
- Join Date
- Jun 2011
- Blog Entries
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.
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)
Last edited by evret; 10-07-2011 at 01:25 AM.