|
Ignore this polygon for collision detection
purposes. This means that when STATE_object_is_movement_possible()
will be called ( or STATE_engine_is_movement_possible() ) they would never get collision with
this polygon. This function is useful for polygons representing clouds, smoke, curtains ,grass etc ...
The default is that all the polygons are collisional
see also STATE_polygon_make_collisional() ,STATE_polygon_is_collisional(), STATE_polygon_disable()
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_object_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.
|