Home    LittleBigPlanet 1 - PSP - Tearaway -Run Sackboy Run    LittleBigPlanet 1    [LBP1] Help! [Archive]
#1

Is it possible to rotate an object by a certain amount?

Archive: 14 posts


I want to rotate a disc 90 degrees at a time. The only way I can think to do it is using a piston that activates a magnetic switch that briefly turns on a motor bolt but this proves to be inconsistent - it turns a little bit more than 90 degrees and throws off the whole effect.

Anyone got any ideas how I can do this?

Edit:

I've had a thought - I could put a block every 90 degrees and have a piston block to prevent it turning then a button to move the piston block, allowing it to turn 90 degrees before coming to a stop. Gotta test this later though. There's the potential for the wheel bouncing when it hits the piston block I think...
2008-11-26 11:09:00

Author:
AtheistSeaOtter
Posts: 54


Have you considered wobble bolts? I was under the impression they could be exact to 1 degree when turning objects. Not sure how to make it turn and stop, turn and stop though. I'd have to fiddle with them. :o2008-11-26 15:52:00

Author:
Elbee23
Posts: 1280


So you want it to turn 360 degrees, but have a pause at every 90 degrees?

I know a way you can do it, but after 360 degrees it will go back the other way.

First, you need to make 3 circles. All the same size. Make the farthest back one thin on back layer, out of dark matter (or use your back wall.

Then put a wobble bolt on the middle circle and set it to 90 degrees, with the pause of how long you want it to pause after turning. Say you want it to turn every 3 secs. Set delay to 3 secs then.

No every 3 secs it turns 90 degrees, then after 3 secs it turns back.

Now for the tricky part. put the third circle right in front of it, and attach it to the middle one via a second wobble bolt.

No set it to turn 180 degrees, with twice the delay.

Now here's what happens. The back wobblee turns it 90 degrees. and waits. Then it goes back 90 degrees back to original position, but forward 180. Then pauses. It then moves forward another 90 degrees, putting it at 270. Then it resets back to 0 degrees, or 360...

So it goes 90>180>270>0

Should work, I have another idea, but I'll post it if this one doesn't work...
2008-11-26 21:18:00

Author:
lionhart180
Posts: 200


If you want it to stop every 90 degrees, but continue infinitely in one direction, it should be a fairly simple setup. You'll need to do some tweaking but you should be able to make this work.

Set your wheel up on a Motor Bolt. Now make two small dark matter blocks and give them about 10 small grid units distance from each other from left to right. Attach a wood block to the left dark matter block with a piston, and tweak the piston so that it moves from one dark matter block to the other, back and forth.

Put a mag key on the wood block, and a corresponding mag switch on the rightmost dark matter block. Attach the switch wire to the Motor Bolt on your wheel.

Before hitting "Play", make sure your wheel is rotated and lined up properly for one of the marks you want it to stop at.

At this point you'll need to play around with the speed of your piston so that the mag key/switch come in contact just long enough to rotate the wheel 90 degrees before moving back away and deactivating the motor bolt. Once you get it right, the piston should continually move in and out of range over and over, making your wheel rotate the same distance each time. You'll probably have to Pause/Rewind/Play several times before you find the right timing, but I'm fairly certain you can make this work.

EDIT: I see this was the first thing you tried. Nevermind then!
2008-11-26 21:34:00

Author:
Justin Hopewell
Posts: 135


Thanks guys for the suggestions. I suppose I wasn't really clear on one aspect - I wanted the 90 degree turns to be controllable.

I did it similarly to how I mentioned in my edit - put blocks on each corner of a square and had a block controlled by a piston just get in the way when you hit a switch. I had to turn down the strength on the motor bolt though as it kept destroying the piston block, lol.

Only thing I need now is a trigger that fires off only once when a button is pressed... Why can't the "One-shot" buttons just cause pistons to go up and down once per press? It'd be so much easier.
2008-11-27 10:36:00

Author:
AtheistSeaOtter
Posts: 54


Only thing I need now is a trigger that fires off only once when a button is pressed... Why can't the "One-shot" buttons just cause pistons to go up and down once per press? It'd be so much easier.

I suspect that might be the function of the "directional" setting you are thinking of...
2008-11-27 12:01:00

Author:
Elbee23
Posts: 1280


I suspect that might be the function of the "directional" setting you are thinking of...

Eh? As far as I know, directional switches make pistons move to either the in or out position depending on backwards/invert settings.
2008-11-28 10:07:00

Author:
AtheistSeaOtter
Posts: 54


Eh? As far as I know, directional switches make pistons move to either the in or out position depending on backwards/invert settings.

So, that means that it would fire it once for each press... isn't that what you wanted?
2008-11-28 11:48:00

Author:
Elbee23
Posts: 1280


So, that means that it would fire it once for each press... isn't that what you wanted?

Well, I've had situations where I'd like a piston to complete a full cycle when you hit a button. For example, you step on a red switch, the piston starts moving, you step off the switch, the piston continues moving to the out position, to the in position, then stops. If you press the button again, it completes another cycle.

It puzzles me as to why they didn't add this functionality.
2008-11-28 13:05:00

Author:
Justin Hopewell
Posts: 135


Well, I've had situations where I'd like a piston to complete a full cycle when you hit a button. For example, you step on a red switch, the piston starts moving, you step off the switch, the piston continues moving to the out position, to the in position, then stops. If you press the button again, it completes another cycle.

It puzzles me as to why they didn't add this functionality.

Cause the games only been out a month?
2008-11-28 21:02:00

Author:
lionhart180
Posts: 200


Hi all, well I am trying to do almost the same thing with my 'Rubics Clock' puzzle, and I have very nearly solved the problem (almost)
what I did to time the turn of the motor bolt was first capture a block with a magnetic key attached, I then set up another block with the same coloured magnetic switch attached to it, then an emitter to emit my 'key object' next to the 'switch' block. the 'life' of the emitted 'key object' I set to the number of seconds/tenths of seconds it would take for motor bolt to turn the desired number of degrees (this takes some tweaking of the motor bolt speed and lifespan of the key). Finally a push button set to 'one shot' wired to the emitter, and then the mag' switch wired to the motor bolt. After some tweaking it is VERY close to turning 90 degrees with each activation but it still ends up being noticably overturned after 5 or six goes!, maybe more tweaking of the bolt speed/key life will solve it, I am unsure at the moment! If anyone has any better ideas to improve accuracy then please let me know.
2010-02-24 11:25:00

Author:
CloaknBlagger
Posts: 78


Omg massive bump!2010-02-24 12:43:00

Author:
ladylyn1
Posts: 836


Yes, sorry everyone, I didn't known about tamlands 'incremental bolt' solution (I guess my search terms didn't pick it up when I was looking for a better solution), I only got little big planet 2 days ago, and my 'mechanism' for set degree rotation is the first problem I have tried to solve in making a 'Rubics Clock' type puzzle. so yes this has caused a MASSIVE bump. On the plus side my 'Rubics Clock' is very close to completetion. Thanks to some great advice on the thread. Peace 2010-02-24 13:23:00

Author:
CloaknBlagger
Posts: 78


Wow, nice one. Glad you got it figured out.

Locked.
2010-02-24 13:31:00

Author:
comphermc
Posts: 5338


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.