STATE_polygon_disable

 

 


   Polygons that are disabled are not drawn and are
   do not take part in collision detection.
   All the API functions can work on disable polygons the same way they work on enabled ones
  
  Note the following cases:
   The polygon is not visible and does not take part in collision detection ==> use STATE_polygon_disable
   The polygon is     visible and does not take part in collision detection ==> use STATE_polygon_make_non_collisional()
   The polygon is not visible takes part in collision detection ==> name the polygon $$TRANSPARENT that will tell the engine not to draw it
  
   Naming the polygon $$TRANSPARENT (not seen but participate in collision detection) is useful in order to restrict the player
   from getting out of certain areas. They act like transparent walls.

 

 

Go to page 1      Select API

 

Copyright © 2007 3DSTATE Corporation. www.3dstate.com