From ZDoom Wiki
Jump to navigation Jump to search

bool BouncePlane (SecPlane plane) (development version 3dce874 only)


Makes the actor calling the function bounce off the specified sector plane. This uses all the normal behavior for actors bouncing off planes, such as removing the actor if the plane is a sky and the actor has DONTBOUNCEONSKY. The caller does not need to be actually touching the sector plane for this function to work.


  • plane: A pointer to the SecPlane for the actor to bounce from.

Return value

Returns true if the caller successfully bounced.


Nuvolachalk.png Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated.