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

Top down car jumping problem

Archive: 4 posts


Hello there, my making of a awesome top down car is making good progress .
But I ran in to a little problem. I have it set up so that it can jump, and it moves back a layer whenever it drives of a cliff.
But Now i want it to set up so that the car can only jump once per given time. to prevent double jumping.

I already have it so that i need to hold the jump button for a given time before it jumps, but that just doesnt do the trick.

I mean:
In example: i jump with the car, and then i need to wait a given time say 1 sec, to be able to jump again.
2011-02-13 21:49:00

Author:
Dexist
Posts: 570


Set a timer to whatever time you want it to jump, and set current time to maximum time, and hook it up to the jumper via a not switch. Just hook up the jump button to reset the timer, or in your case, hook up another timer to reset the timer. Hope that makes sense2011-02-13 21:54:00

Author:
Ignition246
Posts: 156


Set a timer to whatever time you want it to jump, and set current time to maximum time, and hook it up to the jumper via a not switch. Just hook up the jump button to reset the timer, or in your case, hook up another timer to reset the timer. Hope that makes sense

thats not what i meant. (i didnt explain my problem that well i guess) so i changed it a bit:

but what i mean is


In example: i jump with the car, and then i need to wait a given time say 1 sec, to be able to jump again.
2011-02-14 18:08:00

Author:
Dexist
Posts: 570


Wire your jump logic to an AND gate and a 2nd timer, wire your button press to the timers input and set it to auto reset itself. That way you may only jump when the right buttons are pressed and the timer is not active. Might require a NOT gate in there too, unsure how you wired it.2011-02-14 18:18:00

Author:
Unknown User


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.