Hi!

In my last project (Running Food, cf. Showcase II) I did just that for some entities. (Like the wooden palette lying in Level 1 or the cardboard box in Level 3).

That is the main problem: you can't make level blocks transparent. That would of course make the whole BSP-tree absurd. ;-) That's why you have to use Entities for this.

The code is really easy: normally you use a trace to the camera anyway to check if anything is in the way. If an entity like this is in the way, I set a special flag, which tells the entity to becoma transparent. The final touch is that the entity is not made transparent at once, but gradually (fast, but you can see it).

Good luck!

Gnometech


Download our playable Movement & Interaction Tutorial for 3DGS here:
http://www.puppenheim.org/MITutorial.zip