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

movers and timing

Archive: 5 posts


I have this level where i have a mover that follows certain tags. that all works wonderfully, but I would like to disable that tag once the mover is over it.

So say i have a square with the follower on it and it goes left. Once it completes the movement left, I want the tag that it follows to deactivate. I could use timers I suppose, but is there a more logical way to do this?

Is there a way to know when an object has completed its motion and is at a standstill again?
2011-02-02 03:16:00

Author:
tdarb
Posts: 689


Use a destroyer or put the mover on a dissolvable platform and have it dissolve after it's done. As for knowing when a object completes a motion edit the sync on the tool or probably bolt. Hope I was some help send me a message if you need more help. 2011-02-02 03:34:00

Author:
fireblitz95
Posts: 2018


Tags actually have an input now, so you can turn them on and off. I think you can figure out the rest by yourself.

Cheers!
2011-02-02 04:13:00

Author:
EliminatorZigma
Posts: 173


Tags actually have an input now, so you can turn them on and off. I think you can figure out the rest by yourself.

Cheers!

well, yes. I can turn them on and off. I would like to do that after my mover has stopped moving to it though. as it is, I have to use a couple of tags and several sensors to do what I need to.

It would be much simpler if anyone knows a way for a follower to indicate a "found" state where it triggers once the follower has stopped on whatever it is following.
2011-02-02 04:38:00

Author:
tdarb
Posts: 689


It would be much simpler if anyone knows a way for a follower to indicate a "found" state where it triggers once the follower has stopped on whatever it is following.

Tag sensor A on your halo block hooked to the first input of a Selector. First output of Selector to a Follower (or whatever you are using to follow tag A). Hook up the same tag sensor to a NOT gate and the output of the NOT gate to the other input of the Selector. Wire the second output of the Selector to a simple Mover, set to 0 velocity and 100% speed decrease for a complete and sudden standstil. Slap a Tag B on your halo block as well.

Put a Tag sensor B on the followed object. Wire it to a 1-count Counter. Wire the output of the Counter through a NOT gate to a Tag A. Tag A will now deactivate and stay that way when the sensor detects the presence of Tag B (the halo block). When Tag A gets deactivated, the halo block stops following tag A (the followed object) and stays put wherever it is at that moment.

If you'd happen to reset the Counter with some more logic, the halo block will start following the object again.

I do something similar in my advanced homing missile tutorial (https://lbpcentral.lbp-hub.com/index.php?t=46699-How-to-make-an-advanced-homing-missile).
2011-02-02 09:04:00

Author:
Antikris
Posts: 1340


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.