Page 1 of 1

Half block?

PostPosted: Sun Dec 25, 2011 10:09
by Gatharoth
Is it currently possible for a half block? Or would I be seeing this in the future?

PostPosted: Sun Dec 25, 2011 10:24
by Calinou
It is currently possible to make a "fake" half-block with a full block collision (see the door mod for the rendering method - requires a patch), but not real climbable slabs.

PostPosted: Sun Dec 25, 2011 15:34
by xyz
Somebody on irc worked on it, afaik. (maybe kahrl?)

PostPosted: Sun Dec 25, 2011 17:09
by Gatharoth
Ah okays. Well, I guess I'll be seeing that in the future then. :D Along with other epic things.

PostPosted: Sun Dec 25, 2011 17:21
by kahrl
Yes, I am working on it.

http://upl.co/uploads//screenshot806622188.jpg
https://github.com/kahrl/minetest/commits/collision_allow_stairs

Allowing the player to walk up these half blocks without jumping, which means changing the collision code, was quite tricky and there are some remaining glitches. Currently I'm trying to get the stairs and slabs to render correctly in the inventory menu (without having to hardcode some variation of inventorycube).