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

Help with movement logic

Archive: 2 posts


Okay so as far as I have no one has asked this question yet. Say I am making a level where an object can move in all four directions (left, up, right, down) but it continuously moves in that direction until it hits something. How would I make it so while it is moving even if the player presses a different direction the input wont activate unless the object has stopped?2011-01-25 08:49:00

Author:
DarKnighT_0_9
Posts: 91


If to stop it has to hit something add an "impact sensor" connect the "impact sensor" and the "analog stick" to an "and switch" and then have the result be the new direction.2011-01-25 09:07:00

Author:
RAWTalent
Posts: 224


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.