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

Rotators

Archive: 5 posts


I'm trying to make an object (x) rotate out from another one (y) whenever L3 is pressed, and for y to rotate back to the initial position behind x when L3 is pressed again. I would think the LBP1 bolts would be the best way to go about this, but now I'm curious to try some of the LBP2 rotators (specifically the gyroscope?). If this ends up being too complicated--which I doubt--then I'll try using pistons... which I also don't really know how to use. I just don't have enough experience with these tools. I won't be on until later, so I thought I could get some ideas. I appreciate any help!2012-09-15 21:22:00

Author:
Rainbro Dash
Posts: 121


I'm not really following exactly what it is you're trying to achieve but generally, Rotators and Movers are easier and more efficient than Bolts and Connectors.

I realise you were trying to keep things basic by refering to your objects and 'X' and 'Y' but it really makes things a lot easier when you just enliken what you're trying to create to something people will recognise and understand.
In any case, trying to get something to return to a set point and angle is easiest when using a Follower Mover which is set to follow a Tag, and a Gyroscope.
You seemed curious as to exactly what the Gyroscope does, so I'll explain it a bit -
The Gyroscope logic item always tries to face upwards. So if you place a Gyro upside down on a piece of cardboard, the object will try to rotate 100 degrees so that the Gyro is the correct way up. A bit like the Rocket Rotator in some respects, but instead of facing 'Forward' based on the objects momentum, it tries to face upwards.
Gyroscopes are actually real objects. Fascinating things.
2012-09-15 21:41:00

Author:
Ostler5000
Posts: 1017


Thanks for the info! Yeah when I started writing my question, I thought using x and y would help for later on in my description. Then I realized it could all be explained in just a couple sentences lol. Let me try describing it another way: I have two circles (one bigger than the other) touching internally. The point at which they touch is the axis of rotation, and whenever L3 is pressed, the smaller, inner circle rotates 180?. I have used gyroscopes before, and I think they're the way to go. Whenever I think of rotation in LBP, though, for some reason my mind jumps straight to the LBP1 bolts. Still hard to tell how things will go without testing it out, but I'll let you know how it goes when I get the chance!2012-09-15 22:17:00

Author:
Rainbro Dash
Posts: 121


If I'm understanding what you want to achieve correctly, this is very simple to achieve with gyroscopes.

On the circle that rotates place a controlinator. On that place a 2 port selector with the L3 wired to the bottom 'toggle' input. You'll then need to place 2 gyroscopes. Wire the first output of the selector to the first gyroscope, and the second output to the other. Rotate the second gyroscope 180 degrees (or to whatever angle you want it to rotate to). Voila! That should work. You can tweak the speed at which it rotates in the gyroscopes settings if needs be to get the desired effect.
2012-09-15 23:08:00

Author:
Mopkins
Posts: 123


Yep, gyroscopes worked perfectly. One of the few times that my creation came out EXACTLY as I had hoped and imagined.2012-09-17 08:36:00

Author:
Rainbro Dash
Posts: 121


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.