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

A continuously rotating cube that pauses on each side

Archive: 10 posts


If anyone out there would be so kind as to help a dumb noob I'd appreciate it.2011-11-07 16:31:00

Author:
Unknown User


..........what do you mean?2011-11-07 17:09:00

Author:
flyinhawaiian
Posts: 357


That's not much to go on, TBH, but to create what you desribed, I'd use a Sequencer, and 4 Gyroscopes.

Place a Microchip on your square, and inside, place a Sequencer.

Have your Sequencer loop, and make it play, however you need it to. I find just pressing square on the timeline to make the pink line appear, and then leaving it, works fine.
Now, make sure your Sequencer has 4 stripes on its' timeline.
On each stripe, there should be a battery, covering the entire stripe.
Outside the Seq, but still in the Microchip, place 4 Gyroscopes. Each facing a different direction. The first one, up, the second, right, the third down, and the last one, left.
Take the wires from the batteries, and plug them into the Gyro's in the correct order.

As the Sequencer plays, different Gyro's switch on, causing the square to rotate. Once the Gyro is facing the direction you need it to, it will stop, until the Sequencers timeline advances to the next Gyroscope. You can alter the rotation speed of the Gyroscopes to change how quickly it spins, and change the value of the Sequencers 'Seconds per stripe' option or whatever it's called, to adjust how long each Gyro is on for, thus increasing or decreasing the stop/start timing.

Hope this is what you were after.
2011-11-07 17:14:00

Author:
Ostler5000
Posts: 1017


forget what i just wrote2011-11-07 17:28:00

Author:
GribbleGrunger
Posts: 3910


I think I know exactly what your looking to do, and the best effect you can get out of it is to use a rotator or rotator bolt!

Then connect "angle sensors" to your block (with the spacific angles you want them to stop) then use a "timer" set to count down, and a "not gate" from the timer
Do the same for every angle you want it to stop at and connect all the outputs from the timmers to A "and Gate" then connect the "and Gate" to the bolt/rotator

This should make it so when the block reaches the angle (you set) it will stop for the amount of time it takes for your timmer to count down, then it will start again untill it reaches the next angle sensor.

This will allow for a smooth rotation and stop/start. plus this way you can easly ajust the ammount of time it stops for aswell as its rotation speed. hope this helps!

If this has confused you I will be more then happy to come and help you ingame! just invite PSN me with a message about it!






http://lbp-me.lbp2blog.com/sigs/level/7kfyep/0/0/sig.png (http://lbp.me/v/7kfyep)
http://lbp-me.lbp2blog.com/sigs/level/7kfrqx/0/0/sig.png (http://lbp.me/v/7kfrqx)
2011-11-08 18:38:00

Author:
danx87
Posts: 59


The speed setting on rotators is in degrees per second, so a rotator set to 90 and disabled after precisely 1 second would have rotated 90 degrees.2011-11-08 19:28:00

Author:
Ayneh
Posts: 2454


The speed setting on rotators is in degrees per second, so a rotator set to 90 and disabled after precisely 1 second would have rotated 90 degrees.

This dosnt really help if you want it to spin for 3.4seconds and stop for 2.2seconds, but to have only spun 90degrees?!>! not without being some sort of mathmatical genious! lol
2011-11-08 21:22:00

Author:
danx87
Posts: 59


This dosnt really help if you want it to spin for 3.4seconds and stop for 2.2seconds, but to have only spun 90degrees?!>! not without being some sort of mathmatical genious! lol
Ideally you want to deal with whole numbers but that would be 90/3.4 = 26.470 = how many degrees it needs travel in 1 second, which can only be achieved in this case with an analog signal.

If you wanted it to spin for 3.6 seconds that results in a neat speed setting of 25 since 90/3.6 = 25.
2011-11-08 21:46:00

Author:
Ayneh
Posts: 2454


Ideally you want to deal with whole numbers but that would be 90/3.4 = 26.470 = how many degrees it needs travel in 1 second, which can only be achieved in this case with an analog signal.

If you wanted it to spin for 3.6 seconds that results in a neat speed setting of 25 since 90/3.6 = 25.

LOL as i said! Maths attack! hehe. though if it works is still way simpler then my idea! haha! and that way... less on the thermo





http://lbp-me.lbp2blog.com/sigs/level/7kfyep/0/0/sig.png (http://lbp.me/v/7kfyep)
http://lbp-me.lbp2blog.com/sigs/level/7kfrqx/0/0/sig.png (http://lbp.me/v/7kfrqx)
2011-11-09 11:17:00

Author:
danx87
Posts: 59


I would go with ostler5000, just set the gyroscopes to whatever speed you want,2011-11-09 13:24:00

Author:
Clayton
Posts: 181


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.