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

Toggle problem

Archive: 6 posts


Hi!
I'm working on a pinball level, but can't seem to figure out how to make the ball bounce when hitting certain objects...
I have an idea about using a collider tag and switch between two material tweakers to switch the bouncyness on impact.

So I have two material tweakers. The first one have a bouncyness at 50%, and the second at 100%. When you play the game, the default will be the 50% bounce, but on impact on certain objects I want the game to switch to the 100% for a really short time before hopping back to the 50% bounce again. I have thought about several ways to do this, but can't seem to get it to work.

My Goal: on impact, toggel to 100% bounce for 0.1 sec, then switch back to 50% bounce.

Is there an easy way to to this?
2011-02-08 19:40:00

Author:
sirbull
Posts: 4


Use a fast follower activated for 0.1 seconds when it hits an object. Set it to flee from a tag in the middle of the object. 2011-02-08 19:43:00

Author:
Holguin86
Posts: 875


But how do I activate it for 0.1 sec?2011-02-08 20:00:00

Author:
sirbull
Posts: 4


Maybe try an inverted timer which is on for 0.1 secs which activates the fleeing follower.
By touching those 'certain objects' (you could tag them) the timer could restart, causing the ball to 'flee' again.
Hope that helps!
2011-02-08 20:16:00

Author:
iArekusu
Posts: 402


Hmm... I sat the follower to flee, the radius just around my ball and the impact sensor to see green tags. On impact the follower should free at speed 100 from blue tag (both green and blue tags are attached the object to collide), but... the ball doesn't bounce! What do I do wrong? Sometimes, the ball stops and get stuck in the air when it hits the object...2011-02-08 20:32:00

Author:
sirbull
Posts: 4


ok heres what i do for like my upgrades. Get a sequencer and put at the very top left the TOGGLE logic and with the stripes set it how long u want it to set.like if u want it to last 10 secends long and ur value for how long each secend is(in this ex is 1 sec per bar) then u would have to make 10 bars.Now hook up the toggle to a timer to start and put how long you want it to be enabled for(it MUST be the same as with the sequencer)thats how u get it to work.Idk how to make a RESET part cuz im not so sure how u build it2011-02-09 02:19:00

Author:
killmanx27
Posts: 66


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.