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

Single Direction Movement?

Archive: 5 posts


Alright, so I'm planning a level which contains a section that, when a object reaches a certain area, it looses it's Up/Down momentum, allowing to only be moved in the Left/Right directions. I can't use movers, seeing as any mover would force the object in the specified direction, so that wouldn't work, because I need it to be moveable (In this case, I need it to be able to be pushed). I could easily use tracks, but I would prefer the use of the thin layers for decoration purposes. That, and I need to be able to enable/disable it. If anyone was confused, just ask, and I'll be happy to clarify! Thanks in advanced!2011-02-14 01:45:00

Author:
Super_Clone
Posts: 849


what happens if you put and UP mover and DOWN mover pointing at each other at full strength...then activate those by a tag and tag sensor in the area you want. Will that lock it out vertically?2011-02-14 02:05:00

Author:
ghostingalong
Posts: 17


you could take the wire leading into the up/down speed and put it on its own microchip or an AND gate, and use your preferred method of keeping state to either feed the microchip's activation input or the other side of the AND gate.

For example, you could use a counter of 1 set to "invert output = true", and take your up/down movement modifier (lets say it's the left stick up/down) and put them both in an AND gate together. d whne you get past your "no vertical movement" point, increment the counter and now the AND gate will be false and there will be no up/down movement.
2011-02-14 02:27:00

Author:
Foofles
Posts: 2278


This kind of thing is tricky. What exactly is pushing it and how fast can it be pushed? Is a sackboy grabbing it when it's being pushed or does it need to be pushed by whatever?

[edit] Ok, I just tried it and I managed to rig up a block that can be pushed from side to side but remains completely still in the up/down direction. I used an advanced mover with 100% accel and decel and speed set to 24 (you may need to set the speed higher depending on how much up/down force it needs to overcome). With none of the inputs active, this is pretty close to having 100% dampening without using a gravity tweaker.

To make it move from side to side, I made narrow stips of hologram with impact switches set to include touching and not to include rigid connections. One is embedded in each side of the box so you can only trigger an impact switch from the side, not from the top of bottom. Since I had to crank the speed of the mover so high to keep it still (it's staying power is based on its deceleration and its movement speed), I needed to scale down the speed of horizontal movement that can be applied. To do that, I stuck a 3% battery on a microchip and fed one of the impact switches into the microchip's input (converts the 100% signal from the impact to a 3% signal). Then I duplicated the battery chip and plugged the other impact switch into the duplicate. Wired both batteries into a signal combiner (make sure the impact switch on the left ends up on the positive end of the combiner) and wired the combiner into the side input of the mover. Now the block can be "pushed" (actually moved by a mover when it detects contact on the side) sideways, but not up or down.

The disadvantage of this method is that you can only push it sideways at a set speed (based on whatever the battery percentages are) and it will stop moving as soon as you stop touching the impact switch. There's probably a way to adjust the speed (maybe something like a controllinator set to nearest player that will read how hard you're pushing the left stick if you're pushing it with a sackboy... but that will lead to more complicated logic), and you can sort of overcome the instant stop by using a timer.
2011-02-14 02:45:00

Author:
Sehven
Posts: 2188


Oh... What would you guys consider the best way to simulate momentum transfer? I'm having the object spat from Creatinators, and I need the forward/backward momentum to be retained, and I can't use glass tracks, because it's hologram... Crap, I never thought I'd have so much trouble with this...2011-02-14 03:12:00

Author:
Super_Clone
Posts: 849


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.