Page 1 of 1

How to modify collision of (custom) blocks

Posted: Fri Jun 04, 2021 5:39 pm
by TobiasRavolta
Hello there!

I just want to ask if there is a way to modify and change the collision of blocks or/and custom blocks. With that I mean, for example, to make it like a one-way platform: You can stand on top of it and you can jump on it from below, like a Bridge-Tile. Or to make them non-collided. All of that would be extremely helpful in level creation.

Re: How to modify collision of (custom) blocks

Posted: Sat Jun 05, 2021 3:05 am
by Enjl
TobiasRavolta wrote:
Fri Jun 04, 2021 5:39 pm
Hello there!

I just want to ask if there is a way to modify and change the collision of blocks or/and custom blocks. With that I mean, for example, to make it like a one-way platform: You can stand on top of it and you can jump on it from below, like a Bridge-Tile. Or to make them non-collided. All of that would be extremely helpful in level creation.
https://docs.codehaus.moe/#/features/block-config
Passthrough and semisolid specifically.

You can check some of the lua files in data/scripts/blocks for reference.