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

How do I make objects follow a path without the hard work

Archive: 12 posts


How do I make objects follow a path without me constantly having to wire all of the tags to the sequencer? Like an AI opponent racer, I want it to drive smoothly with a lot of tags but I don't want to hunt them all down and wire them to the sequencer! Is there a way to do the same thing but wirelessly? If you are to teach me how, can you include pictures or videos if you can? Also How are you gonna do it if you want an AI opponent driver to emit from somewhere because, you know, the wires don't connect to the car when it is emitted.2012-02-11 02:11:00

Author:
danthi66
Posts: 54


Well it might be too complex to discribe and i didnt play with smooth waypointing much yet, but don't dare to use sequencer for this job, time as a base in this is irrelevant thing, what happen if car will hit a wall and make a delay? You need to do waypoint system, that will got to tag and keep in check if it reach goal, use selector to switch between wayponts.

You don't need to use diffrent tags for each waypoint all the time, you can make repetitive pattern for example with colors:

red - orange - yellow -green - blue - red - yellow etc.

this will shorten your sequencer, only thing you need to watch out that only one tag each color is in range, or else it will mess up and catch a spaz. if you sure that you wont have many tags in range in same time you can reduce number of colors, imo 3 is good minimum since with 2 there more risk that it may go back for accedent

You should get the idea
2012-02-11 03:35:00

Author:
Shadowriver
Posts: 3991


Can you explain it a little clearer?2012-02-11 19:36:00

Author:
danthi66
Posts: 54


:>.... hm i think will make a tutorial tommorow ;]2012-02-13 04:20:00

Author:
Shadowriver
Posts: 3991


Sorry i won't be able to record to day my brother come working here and i don't want to disturb him, i should do it tommorow... i hope2012-02-13 21:40:00

Author:
Shadowriver
Posts: 3991


It seems like it would be a combination of followers and tags/tag sensors...2012-02-14 01:34:00

Author:
Cobaltor
Posts: 222


I've never tried this before but I think I have an idea of how to do it.. Could you use a selector and followers? Have a selector with 5 ports for example. Have 5 tags, 5 matching followers, and 5 matching tag sensors? What could happen is you have the tags placed down appropriately, then have the outputs of the selector connect to the followers. Then, hook the tag sensors up to the inputs of the selectors. You are probably going "Wahhh?" but let me explain... The car will follow a certain tag, once it gets close enough to the tag, the tag sensor tells the selector to activate the next follower, and the car continues.. If the tags are in a certain pattern, (EX. Red, Yellow, Blue, Orange, Red, Yellow, Blue, Orange, etc.), and the selector also follows that same pattern, the car should continue down the pattern. Only problem is that it might look choppy.. This could be fixed by playing around with the deceleration on the followers.. If you're confused then I will try to go more in depth.. I don't even know if it will work.. I will try it out later. Can anyone let me know if this works?2012-02-14 02:18:00

Author:
Wolffy123
Posts: 406


Selector, cycles between chips that contain look-at rotators that look at unique waypoint tags. Corresponding tag sensor on each chip registers arrival, pulses an OR gate (where all sensors join up) and that triggers the cycle input on the selector. The car is powered by a forward advanced mover (local space).

You can then add more minute variations in speed and trajectory by varying the signal strength that goes into the vertical input of the advanced mover, have it sway and dodge by sending signals to the horizontal input and make sure the look-at rotator is not too fast or strong (or you can even vary that one with an input signal). Furthermore, an A.I. car could decide to execute a whole different set of rules in particular circumstances, like entering a pit stop, pushing opponents off the road, blocking opponents from passing or recovering from a crash; the default behavior then becomes just another scenario that you should put on a chip activated by a selector on a higher tier.

I hope you are seeing a pattern here.
2012-02-14 09:34:00

Author:
Antikris
Posts: 1340


I was close! ... Antikris' solution makes the most sense... 2012-02-15 02:22:00

Author:
Wolffy123
Posts: 406


Gah i look like you already solution.... well i made tutorial anyway https://lbpcentral.lbp-hub.com/index.php?t=67896-Waypointing&p=9792882012-02-15 02:59:00

Author:
Shadowriver
Posts: 3991


Guys I FINALLY GOT IT! I made a little waypoint making device that emits 3 different color keys that the car follows in a path! AND IT IS WIRELESS!2012-02-18 22:15:00

Author:
danthi66
Posts: 54


Maybe you could consider making a tutorial about it then, with pictures, videos, nicely done grammar and easily understandable by the less capable creators.

j/k : P
2012-02-19 10:12:00

Author:
zupaton
Posts: 167


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.