Invisible blocks are passable?

Posted By: PadMalcom

Invisible blocks are passable? - 12/26/10 19:11

Hi, the manual tells that invisible blocks are still solid but some how... the are not! If I disable the invisible flag I see the blocks and there is a collision.

My mistake?
Posted By: Saturnus

Re: Invisible blocks are passable? - 12/26/10 20:34

I haven't fiddled with the collision engine for quite a while, but recently I came across this info:

Originally Posted By: Manual: Block Properties
Invisible - Invisible block. When setting the Invisible = None flag in the map compiler dialog, the block is still used in the BSP tree, can clip away objects behind it, and throws static shadows. Otherwise it's completely invisible for the view and the AABB collision detection.

So apparently this compiler setting has to be enabled. However, invisible colliders that drop shadows aren't that great either... Perhaps there's a better solution? I'm interested in this, too.
Posted By: PadMalcom

Re: Invisible blocks are passable? - 12/26/10 20:55

I found it out, thanks for the hint with the compiler options! There is a checkbox saying "Invisible == None". When I enable this, the blocks cause a collision. If there are any disadvantages; I don't know yet laugh
© 2024 lite-C Forums