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

How to 'flip gravity' and walk on ceiling

Archive: 10 posts


For those who are wondering how to make the player walk on the ceiling, here is a guide to how I achieved it using sakcbots. I am by no means a savy creator so my solution may not be the best but it worked for me.

1 | First, make a hologram one layer thick and about sackboy sized. Turn the brightness down to 0% to make it invisible in play mode.
2 | Attach a controllinator to the hologram and attach a follower to the controllinator's board. Set the followers speed to 100, in-out movement to Yes, acceleration to 100% and minimum detection range to 0.
3 | Change the controllinators settings so the remote control option is set to transmitter with a colour of your choice.
3 | Create a sackbot with whatever settings you want.
4 | Open the sackbot's circuit board and attach a tag. Make the tag whatever colour you want.
5 | Go back to the controllinator on the hologram and open the followers settings again. Get the follower to follow a tag and set the tag colour to the one you set in step 4. Now, the controllinator the user enters on the holgram will follow the sackbot around. This will eliminate the need to add game cameras etc.
6 | Go back to the sackboy and add a controllinator to the board and change its settings so the remote control option is now a receiver of the colour you chose in step 3. This means that whatever action you do in the first controllinator will be sent over to the sackbot as well.
7 | On the sackbot's controllinator, add a gyroscope but turn it upside down with the speed set to 1,500 and acceleration at 100%. When the gyroscope is turned on, this will flip the player upside down rather than force the player down as per usual.
8 | Add a toggle to the board as well as a mover with the settings up/down speed set to 4 with 100% acceleration and deceleration.
9 | Add an advanced mover to the board with maximum speed 4 and 100% acceleration only NOT deceleration.
10 | Hook up a button of your choice to the toggle. This button will determine when to flip the sackbot to simulate opposite gravity. The hook up the toggle to the gyroscope and the mover NOT the advanced mover.
11 | Hook up the left analogue stick to the advance mover.

If you test this now, activating the holograms controllinator will give you control of the sackbot and allow you to follow it. Pressing the designated button will toggle the gyroscope to flip you upside down. The mover will move you upwards and the advanced mover will allow you to move around on the ceiling. When pressing the button again, you will disable the gyroscope and the mover making you fall down to the ground. The advanced mover is a must as without it, you cannot move on the ceiling. You can play around with the settings to get the effect you want. However, I would recommend leaving the gyroscope set to maximum rotation speed. Otherwise, in narrow corridors, you may not flip all the way round.

I haven't played around much with this but.
- When interacting with a hazard you could attach a destoyer and tag sensor to the hologram's controllinator. When the sackbot is destoyed, the tag it is holding disappears and the hologram holding the controllinator and therefore sackboy also gets destoyed.
- You could make the level 0 gravity and attach a normal gyroscope with the same mover as in the guide. When playing on the ground, the normal gyroscope would be used with the movers etc. When the designated button is pressed, the gyroscope set up earlier would kick in. This may make for a smoother transaction between states but I am not entirely sure.

If you find any improvements or enhancements then please suggest them as myself and fellow lbp players would be delighted to hear of improvements.
2011-02-09 17:16:00

Author:
Gezzamo
Posts: 11


This sounds really awesome. I have a question. When the sackbot is turned upside down his feet are against whatever surface you have as a ceiling. So when you use the mover to move him does he look like he's walking or does he just kinda float across the ceiling?2011-02-09 17:32:00

Author:
Kitkasumass
Posts: 494


Cheers Kitkasumass. Yes, he moves against whatever material is above him when the 'gravity is flipped' so to speak. When you use the mover, he does infact move his feet as well. However, as you cannot move alone on the ceiling without the advanced mover, you are technically floating around, but the feet move as well. If any of that makes sense

One thing i failed to mention was that he is facing the wrong way to the way he is moving when on the ceiling. Due to the game's engine, when you move the analogue stick in the direction of movement, the sackbot also moves in that directions regardless of the position and angle of the sackbot. However as the sackbot is usually always on the ground, the leaning movement is towards the right relative to the angle of the sackbot. Therefore when you move to the right on the ceiling, you lean to the left because relative to the sackbot, he is still leaning to the right but it looks to the left as he is upside down.

I probably did a terrible job at explaining that . It become much more obvious when you actually see it in action.
2011-02-09 17:53:00

Author:
Gezzamo
Posts: 11


some long description of a problem

maybe if you inverted the directional signals going into your advanced mover it would help? he would walk the way he is facing, but he would walk right when you press left and vice verse. i guess if the camera rotated along with the sackbot this wouldnt be a problem (because it would look correct if the camera was uprght to the sackbot.)
2011-02-09 18:06:00

Author:
Skalio-
Posts: 920


No I understood it all. Not sure if I got it 100% though. So since you lean the opposite way when upside down is there a way you could reverse the mover so that it matches the way the sackbot is traveling. Maybe turn it upside down or something? If there is a way to do this it would make it look like he is leaning, floating, walking (whichever) the way he is actually moving. But it would probably make it harder to play due to the controls being backwards. I'm curious. I think I know what I'll be doing later tonight in create mode. Great idea by the way. It reminds me of that little chair vehicle from the cosmos level.2011-02-09 18:13:00

Author:
Kitkasumass
Posts: 494


yeah thats what i meant ^^

its possible by using a direction splitter and combiner and putting the neg. output of the splitter into the pos. input of the combiner, this way if you press right he goes left.

ofc this means you have to use a couple of ORs and turning on and off microchips in order to control him properly when hes on the ground but its not too hardcore
2011-02-09 18:16:00

Author:
Skalio-
Posts: 920


Or you could have it so it changes to an upside-down camera. However you'd have to toggle some lights.

Yours sounds best
2011-02-09 19:35:00

Author:
mutant_red_peas
Posts: 516


I have to try this out later
Sounds really interesting!
2011-02-10 18:08:00

Author:
iArekusu
Posts: 402


tell me how it goes iArekusu. I would be interested to know if my instructions are clear enough to follow as this my first attempt at a tutorial and I plan to do more : )2011-02-11 16:08:00

Author:
Gezzamo
Posts: 11


I wanted to try it out, but I hadn't thought about gyroscope...
I'll just stick to my first plan, onle player controlling two characters... Who cares about gravity switching...
2011-03-07 02:03:00

Author:
Unknown User


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.