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

Advanced Movers behaving weirdly?

Archive: 9 posts


Advanced Movers should not be this confusing to work with and I apologize if this question has already been answered, but I'm hoping someone could point me in the right direction.

I'm using advanced movers to move a controllable "flying object" around, but I noticed that the Advanced Movers behave in strange ways whenever you hook an AND gate to them; if I slightly pull the control stick down or left, the object would move in the opposite ways until I pull the control stick all the way. But once I remove the connection with the AND gate, the mover behaves correctly.

Not sure if these visuals would help, but I'll put them down anyway:

(Control Stick Input) --------- [Advanced Mover]

The object moves up/down/left/right correctly no matter how much input I've pulled in the stick.

(Control Stick Input) --------- |----------[AND GATE] --------- [Advanced Mover]
(Input #2)----------------------|

The object will move to the right whenever I've slightly pulled the stick to the left until I pull the stick all the way. A similar thing happens when I slightly pull down.

I also noticed that the AND gate does not become active unless I've given as much input as I could with the control stick, but the object continues to move anyways! Why is that? How do I get the Advanced Movers to behave the way I want them to even if the input is low?

Note: I've connected the Left/Right and Up/Down Controlinator outputs to the respective Left/Right and Up/Down inputs on the Advanced Mover. Just in case anyone was wondering.
2011-05-01 20:13:00

Author:
Qrii_Nakari
Posts: 204


What is plugged into the other AND gate Qrii?2011-05-01 20:21:00

Author:
Dortr
Posts: 548


I can't answer your question but I can suggest a hack to get around the problem.

If the problem disappears when you move the stick all the way you could connect your analog stick to a positional sequencer with a battery at the very end of the sequencer and hook that battery up to your AND gate. This means the battery and AND gate will only activate when the stick is pushed all the way, avoiding that dodgy area where everything is backwards.

The problem with logic not activating above a certain threshold when hooked up to analog signals can be resolved in a similar way. Just do the above but place the battery across the entire sequencer, any strength signal will then activate the battery.
2011-05-01 20:29:00

Author:
Ayneh
Posts: 2454


What is plugged into the other AND gate Qrii?
Input #2 is just some random button on the Controlinator. The movement should only be activated when I have both that random button held down and the control stick pulled.

@Ayneh
Hm, I've thought about using a positional sequencer to get around the problem, but I wasn't sure how to do it correctly. I tried your method, but it seems that I must have done something wrong; this time if I pull the stick all the way to the left, the object will move to the right unless if I lower the amount of input I've pulled. How strange... Thank you for helping though.
2011-05-01 20:49:00

Author:
Qrii_Nakari
Posts: 204


What is plugged into the other AND gate Qrii?

I'm guessing you use this AND gate to effectively switch the signal for the controls on and off right?

Instead of using an and gate, you can wire the Up/Down and Left/Right signals through each their own Microchip. Use the Input #2 Signal which previously went to the AND gate and send it to activate the Microchips in stead and hereby also the controls
2011-05-01 20:55:00

Author:
Slaeden-Bob
Posts: 605


Input #2 is just some random button on the Controlinator. The movement should only be activated when I have both that random button held down and the control stick pulled.

@Ayneh
Hm, I've thought about using a positional sequencer to get around the problem, but I wasn't sure how to do it correctly. I tried your method, but it seems that I must have done something wrong; this time if I pull the stick all the way to the left, the object will move to the right unless if I lower the amount of input I've pulled. How strange... Thank you for helping though.
An idea I had from reading your post is to get around using an AND gate altogether, because they cause problems with analog signals. Make a new microhip and place a node from the analog stick in it, the directly wire from the node to your mover. Then wire your random button to the microchip's on/off input.

When you press the button it should activate the microchip, which turns the node on so the signal from the analog stick can go through. That should stop any problems with signals acting weird... hopefully.

Edit: Slaeden said it much more succinctly~
2011-05-01 21:00:00

Author:
Ayneh
Posts: 2454


Yeah, what Slaeden said should work fine and be easier. Just have the movement chip only on if the button is pressed.2011-05-01 21:04:00

Author:
Dortr
Posts: 548


Input #2 is just some random button on the Controlinator. The movement should only be activated when I have both that random button held down and the control stick pulled.

@Ayneh
Hm, I've thought about using a positional sequencer to get around the problem, but I wasn't sure how to do it correctly. I tried your method, but it seems that I must have done something wrong; this time if I pull the stick all the way to the left, the object will move to the right unless if I lower the amount of input I've pulled. How strange... Thank you for helping though.

this is probably due to the battery you placed on the sequencer. you made it 100% correct? try negative one hundred in the same position. you have to remember that positive is right and negative is left
2011-05-01 21:17:00

Author:
Unknown User


/facepalm

I completely forgot about the microchips! Thank you so much for the help guys. I guess I need to put aside the knowledge I have from C++ and think more about LBP logic.
2011-05-01 21:22:00

Author:
Qrii_Nakari
Posts: 204


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.