An old request for an example, I forgot how lol

Hey, as the title says I forgot how to do this… Lol. I need a semi-solid platform. The player is taller than the platform, so it is possible for him to be in it but not on top. Please help and thanks for any response!

I couldn’t find the example, but I did use this system in the original model of HAKK3R 2. Here’s the import-code:

Data

{“data”:{“behavior”:{“v”:“2”,“nodes”:[{“inputCount”:0,“outputCount”:1,“name”:“Always”,“behaviorType”:“logic.triggers.Always”,“x”:270,“y”:512,“group”:"",“id”:“2cbaf3e2af8d694b”},{“inputCount”:1,“outputCount”:1,“name”:“Extractor”,“behaviorType”:“logic.properties.Extractor”,“x”:450,“y”:352,“group”:"",“id”:“2cbaf3e35a27a647”,“targetId”:0,“prop”:“y”},{“inputCount”:0,“outputCount”:1,“name”:“Once”,“behaviorType”:“logic.triggers.Once”,“x”:270,“y”:352,“group”:"",“id”:“2cbaf3e36de2d54a”,“resetOnLevelStart”:false},{“gateVal”:0,“mode”:“greater than”,“inputCount”:2,“outputCount”:2,“name”:“Filter”,“behaviorType”:“logic.logic.Filter”,“x”:810,“y”:512,“group”:"",“id”:“2cbaf3e3b7478145”},{“gateVal”:0,“mode”:“less than”,“inputCount”:2,“outputCount”:2,“name”:“Filter”,“behaviorType”:“logic.logic.Filter”,“x”:810,“y”:352,“group”:"",“id”:“2cbaf3e38d473c4d”},{“inputCount”:0,“outputCount”:2,“name”:“Keyboard”,“behaviorType”:“logic.triggers.Keyboard”,“x”:810,“y”:256,“group”:"",“id”:“2cbaf3e496b0e94a”,“keyCode”:40,“repeats”:true,“delay”:0},{“inputCount”:3,“outputCount”:1,“name”:“Switch”,“behaviorType”:“logic.logic.Switch”,“x”:1170,“y”:416,“group”:"",“id”:“2cbaf3e433e5a84a”,"_startVal":1,“dataType”:2},{“delay”:1,“count”:1,“inputCount”:3,“outputCount”:1,“name”:“Timer”,“behaviorType”:“logic.triggers.Timer”,“x”:1170,“y”:224,“group”:"",“id”:“2cbaf3e441000341”},{“inputCount”:2,“outputCount”:2,“name”:“Enabled”,“behaviorType”:“logic.properties.Enabled”,“x”:1620,“y”:448,“group”:"",“id”:“2cbaf3e59389c141”},{“inputCount”:1,“outputCount”:1,“name”:“Extractor”,“behaviorType”:“logic.properties.Extractor”,“x”:450,“y”:512,“group”:"",“id”:“2cbaf3e56144254a”,“targetId”:255283536,“prop”:“y”},{“expression”:“A-32”,“default0”:0,“default1”:0,“default2”:0,“default3”:0,“default4”:0,“default5”:0,“params”:2,“version”:1,“tag”:"",“inputCount”:3,“outputCount”:1,“name”:“Expression”,“behaviorType”:“logic.logic.Expression”,“x”:630,“y”:352,“group”:"",“id”:“2cbaf3e8d251f545”},{“expression”:“A-14”,“default0”:0,“default1”:0,“default2”:0,“default3”:0,“default4”:0,“default5”:0,“params”:2,“version”:1,“tag”:"",“inputCount”:3,“outputCount”:1,“name”:“Expression”,“behaviorType”:“logic.logic.Expression”,“x”:630,“y”:512,“group”:"",“id”:“2cbaf3e877418a47”},{“inputCount”:0,“outputCount”:1,“name”:“Once”,“behaviorType”:“logic.triggers.Once”,“x”:1170,“y”:512,“group”:"",“id”:“2cbaf3e8a3f34848”,“resetOnLevelStart”:false},{“inputCount”:3,“outputCount”:1,“name”:“Switch”,“behaviorType”:“logic.logic.Switch”,“x”:1170,“y”:320,“group”:"",“id”:“34b1a85727172946”,"_startVal":0,“dataType”:2},{“inputCount”:0,“outputCount”:2,“name”:“Proximity”,“behaviorType”:“logic.triggers.ProximityNape”,“x”:810,“y”:160,“group”:"",“id”:“34b1d43b8e609043”,“targetEntityId”:0,“threshold”:51,“once”:false,“targetClassId”:8285099,“nearestOnly”:false,“delay”:0,“firstObject”:true,“allObjects”:false,“contains”:false,“shape”:1},{“inputCount”:2,“outputCount”:1,“name”:“Logic Gate”,“behaviorType”:“logic.logic.Gate”,“x”:810,“y”:64,“group”:"",“id”:“34b2453353d73a41”,“gateType”:“NOR”}],“links”:[{“input_id”:“2cbaf3e56144254ai0”,“output_id”:“2cbaf3e2af8d694bo0”},{“input_id”:“2cbaf3e35a27a647i0”,“output_id”:“2cbaf3e36de2d54ao0”},{“input_id”:“2cbaf3e8d251f545i0”,“output_id”:“2cbaf3e35a27a647o0”},{“input_id”:“2cbaf3e8d251f545i2”,“output_id”:“2cbaf3e35a27a647o0”},{“input_id”:“2cbaf3e35a27a647i0”,“output_id”:“2cbaf3e36de2d54ao0”},{“input_id”:“2cbaf3e3b7478145i0”,“output_id”:“2cbaf3e877418a47o0”},{“input_id”:“2cbaf3e3b7478145i1”,“output_id”:“2cbaf3e8d251f545o0”},{“input_id”:“2cbaf3e59389c141i1”,“output_id”:“2cbaf3e3b7478145o0”},{“input_id”:“2cbaf3e38d473c4di0”,“output_id”:“2cbaf3e877418a47o0”},{“input_id”:“2cbaf3e38d473c4di1”,“output_id”:“2cbaf3e8d251f545o0”},{“input_id”:“2cbaf3e433e5a84ai2”,“output_id”:“2cbaf3e38d473c4do0”},{“input_id”:“2cbaf3e441000341i0”,“output_id”:“2cbaf3e496b0e94ao0”},{“input_id”:“34b1a85727172946i2”,“output_id”:“2cbaf3e496b0e94ao0”},{“input_id”:“2cbaf3e433e5a84ai0”,“output_id”:“2cbaf3e496b0e94ao0”},{“input_id”:“2cbaf3e433e5a84ai0”,“output_id”:“2cbaf3e496b0e94ao0”},{“input_id”:“2cbaf3e433e5a84ai1”,“output_id”:“2cbaf3e441000341o0”},{“input_id”:“2cbaf3e433e5a84ai2”,“output_id”:“2cbaf3e38d473c4do0”},{“input_id”:“2cbaf3e59389c141i0”,“output_id”:“2cbaf3e433e5a84ao0”},{“input_id”:“2cbaf3e441000341i0”,“output_id”:“2cbaf3e496b0e94ao0”},{“input_id”:“2cbaf3e433e5a84ai1”,“output_id”:“2cbaf3e441000341o0”},{“input_id”:“2cbaf3e59389c141i0”,“output_id”:“2cbaf3e433e5a84ao0”},{“input_id”:“2cbaf3e59389c141i1”,“output_id”:“2cbaf3e3b7478145o0”},{“input_id”:“2cbaf3e59389c141i1”,“output_id”:“2cbaf3e8a3f34848o0”},{“input_id”:“2cbaf3e59389c141i1”,“output_id”:“34b1a85727172946o0”},{“input_id”:“2cbaf3e877418a47i0”,“output_id”:“2cbaf3e56144254ao0”},{“input_id”:“2cbaf3e877418a47i2”,“output_id”:“2cbaf3e56144254ao0”},{“input_id”:“2cbaf3e8d251f545i0”,“output_id”:“2cbaf3e35a27a647o0”},{“input_id”:“2cbaf3e8d251f545i2”,“output_id”:“2cbaf3e35a27a647o0”},{“input_id”:“2cbaf3e38d473c4di1”,“output_id”:“2cbaf3e8d251f545o0”},{“input_id”:“2cbaf3e3b7478145i1”,“output_id”:“2cbaf3e8d251f545o0”},{“input_id”:“2cbaf3e877418a47i0”,“output_id”:“2cbaf3e56144254ao0”},{“input_id”:“2cbaf3e877418a47i2”,“output_id”:“2cbaf3e56144254ao0”},{“input_id”:“2cbaf3e38d473c4di0”,“output_id”:“2cbaf3e877418a47o0”},{“input_id”:“2cbaf3e3b7478145i0”,“output_id”:“2cbaf3e877418a47o0”},{“input_id”:“2cbaf3e59389c141i1”,“output_id”:“2cbaf3e8a3f34848o0”},{“input_id”:“34b1a85727172946i0”,“output_id”:“34b2453353d73a41o0”},{“input_id”:“34b1a85727172946i1”,“output_id”:“34b1d43b8e609043o0”},{“input_id”:“34b1a85727172946i2”,“output_id”:“2cbaf3e496b0e94ao0”},{“input_id”:“2cbaf3e59389c141i1”,“output_id”:“34b1a85727172946o0”},{“input_id”:“34b2453353d73a41i0”,“output_id”:“34b1d43b8e609043o0”},{“input_id”:“34b1a85727172946i1”,“output_id”:“34b1d43b8e609043o0”},{“input_id”:“34b2453353d73a41i0”,“output_id”:“34b1d43b8e609043o0”},{“input_id”:“34b1a85727172946i0”,“output_id”:“34b2453353d73a41o0”}]}}}

If the player collides with it from the bottom set its collision to disabled.
If they collide with it from the top run it into a switch that only activates via a mailbox sent from the player that turns it on.
The player should send a message that only activates when it collides with the top of the platform.
Then the switch should turn collision on.
I can send a few screen shots if it didn’t make sense.

@glowbug the problem is that it’s a ground level object

Thanks @browngr but I’m on mobile for the forums and desktop for flowlab :frowning:

You can access the forums by playing your game and pressing the “Forums” button on top. Or, if you’re not working on a game currently, it’s in the hotbar anyway.

I’m kind of on a public computer, so I don’t want to…

Why wouldn’t you want to?

There’s a security camera right above my head

And why would that make any difference whatsoever?

Whatever. You do you, man.

What do you mean by ground block?

It’s on the ground, just one block above the floor.
I’m making a piece of furniture.

Oh, I get it, but can I get a link to the game so I can understand the surroundings and perspective?

1 Like

This example got updated when the notes were added, so more details now.
And is also now in the help section:

1 Like

I will pm you the link
Thanks @JR_01 I’ll take a look.

So I’m guessing you want the player to be able to walk past it but be able to jump on it?
You said “for him to be in it but not on top.” so I might be wrong.
By that phrasing of words it king of means that you want it to be non-collidable.

1 Like

Yes that’s what I want lol

okay, I sent you a PM with what I came up with.

1 Like