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

Making a Smooth, Infinite Conveyor Belt

Archive: 13 posts


I would really like to make a conveyor belt like the ones seen in Sugar Rush. After staring at them for so long, I've still had no luck figuring out what logic was used to make them. I created a path and used a path follower. For whatever reason, I thought I could just clone that along the same path and have it loop, but I can't unless I place every single part of the conveyor individually. That seems pretty tedious and unnecessary (especially since the conveyors in Sugar Rush move so smoothly). If I make a long piece of rubber to use as the conveyor, I feel like it'd eventually mess up once the path follower reaches the end of the path. I'm really not sure what to do exactly, and I'm probably looking at it the wrong way.

If anyone has suggestions, I would love to hear them. These conveyors don't work the same as the ones in LBP and LBP2 from what I've seen.
2012-12-07 01:58:00

Author:
Remy
Posts: 252


There is a conveyor belt material! I'm not sure what category it comes under - glass, wood, metal etc - but it is animated. There is no special traction offered by this material, you can use a physics tweaker to adjust that.

I hope this helps!
2012-12-07 05:44:00

Author:
aratiatia
Posts: 374


Is there a physics tweaker that pushes racers forward? I tried adjusting some settings there, but the closest I could find was lowering the friction and making it icy. It doesn't push forward, but it does make it harder to stop.2012-12-07 19:53:00

Author:
Remy
Posts: 252


You might need to tweak the karts by placing logic on their checkpoints. I haven't looked into this yet. Perhaps you could place a tag on the material you want to use for a conveyor belt. Place a tag sensor on the checkpoint matching the tag's colour. When activated, have the tag trigger a kart tweaker with a higher high-speed rate or higher acceleration?2012-12-07 20:30:00

Author:
aratiatia
Posts: 374


I wonder if the old lbp piston and emitter trick would work2012-12-07 20:48:00

Author:
TheAdipose
Posts: 533


Try increasing the friction instead of lowering it.2012-12-08 11:44:00

Author:
anarchowolf
Posts: 194


I would like to know what the material is called myself, anyone know?2012-12-08 21:55:00

Author:
zzmorg82
Posts: 948


The material is called Conveyor Belt, and it is under the "Metal" section on the third row if you've collected everything. It's only animated though. Like aratiatia said, there are no physics that come with it. I still can't get it to push the kart with it though. Increasing the friction unfortunately didn't work either. 2012-12-08 23:20:00

Author:
Remy
Posts: 252


The material is called Conveyor Belt, and it is under the "Metal" section on the third row if you've collected everything. It's only animated though. Like aratiatia said, there are no physics that come with it. I still can't get it to push the kart with it though. Increasing the friction unfortunately didn't work either.

This video from comphermc might help:


http://www.youtube.com/watch?v=GEplXDGqtAM

I know it's LBP2 logic but you might still be able to pull it off in LBPK. And thanks, I found it!
2012-12-11 01:06:00

Author:
zzmorg82
Posts: 948


So I've been looking into to this too as a critical component of one level I'm working on, but I'm just as stumped. What I DO know is that:


It's not based on emitters; there are no discernible gaps on the material like in most examples
It's not based on any piston use either because every example uses the conveyer belt material and has no possible "cutoff" point.
I don't believe magnets work either, since my tests make the kart out to be glued to the ground and everything ELSE is pulled, as well as there seems to be no "box" radius, it's always a sphere.


All I can figure is that it is either a bound effect on the kart or a physics tweak that causes a pull on any object to a specific direction. Caiman_6 recently was able to do this in his Base Lunaire "Le Fleuret" track with the exact effect Sugar Rush was able to do, just what is it?
2013-02-19 18:58:00

Author:
Hiroshige0
Posts: 114


Hmm. Thanks for the input! We may just have to ask Caiman_6 and see if he'd offer up a tip. I originally thought of using magnets too, but I had difficulty with them as well.2013-02-19 19:18:00

Author:
Remy
Posts: 252


So Caiman_6 did get back to me, and I was wrong: it does in fact use a single piston! Here's how:


Attach a piston horizontally to the material and in the direction you want it to go
Change the "flipper" type on the piston to the same direction it's moving; this causes the material to "skip" back once it reaches the end
Remove any time delay and adjust the distance/speed to desired specs
Change both acceleration types to "linear"


You now have a working conveyer belt. Caiman didn't mention it, but my tests show if you are using conveyor belt material at animation speed 1, you will have to use a ratio of [distance: 10 to time: 1 second] to produce a smooth(ish), even movement. Very clever!

EDIT:

The animation speed ratio is off because I didn't factor on the scale of a piece of material. If you don't change the scale, that ratio will work. If you increase the size however, you'll have to tweak it a bit to get the best results.
2013-02-19 23:29:00

Author:
Hiroshige0
Posts: 114


Now I'll just have to get over my fear of losing an entire scoreboard and update my track. xD

Thanks, Hiroshige and Caiman!!
2013-02-19 23:34:00

Author:
Remy
Posts: 252


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.