Author Topic: Making a brick invisible.  (Read 2193 times)


I can't find anything. Maybe make a global variable with the ID, and let users change it? I'm not quite sure what else to say. I've experimented myself, and I can't get invisible to simply work, without using the actual ID.

I might have to do that but then people will complain.

Hmm... can you make a new colour in the set on the fly?


Code: [Select]
%brick.setraycasting(0);I wonder what this does...

BTW wtf is the problem if you can use -1?

The ray casting allows projectiles to go through the brick.

-1 gives errors even after I've edited the functions.

Quote
The ray casting allows projectiles to go through the brick.

And the camera, so you can look through it. (Walk through a decollisioned brick which doesn't use this and the camera moves closer as you go through the door instead of staying the same distance away from you.) This also means that you can't destroy the brick. (Hammer projectile)

Badspot

  • Administrator
%brick.setRendering(0); 

... noobs. 


Ouch :P

For what object types is the setRendering() method available?


I tried that, when I done it nothing happened.