Author Topic: thin platformer floor  (Read 485 times)

there are games where there are thin platforms that you can jump through, but you can still land on them



is this possible in blockland?

sounds similar to having raycasting off, and uncrouching through it
except without using that glitch

I think it should be possible in some way, as each face of the brick collides in one direction (you can go out of bricks, but not into them)

could do with VCE and two layers of brick plates

top brick: on player touch check if player is crouching
if crouching decollision both plates (allows playres to fall through platforms)
bottom brick: on player touch decollision plates + add velocity up

obviously a hacky unreliable method though. I don't see how you can make things only collide in one direction code wise though.
I think it should be possible in some way, as each face of the brick collides in one direction (you can go out of bricks, but not into them)
there's a difference though since you're starting outside the brick. its like teleporting into the middle of a vehicle - it doesn't trigger collision checks because it checks the bounds of the brick.

maybe if the brick had a custom (collision) .dts......
« Last Edit: March 29, 2016, 05:23:17 PM by Conan »

I think you mean a collision .dts, like ramps, the tree, etc have. You could potentially just... exclude a face and this might work?

The problem with that VCE method though, is that if someone else is standing on it, you can just pull them through by jumping at the bottom brick.

maybe if the brick had a custom (collision) .dts......
I thought you could edit the hit box?

I thought you could edit the hit box?
If you're doing collision in the .blb, you can only use cuboids.

I thought you could edit the hit box?
for things like ramps and trees, the hitbox is determined by the .dts, which is editable (you can open, modify, and save them). yes, its the same file format as for weapons and vehicles. no, its not the format brick models are stored as, and no, not all bricks need them. by default bricks are given a cuboid hitbox based on the .blb and datablock code.