BouncePlane

From ZDoom Wiki
Jump to navigation Jump to search

bool BouncePlane (SecPlane plane) (New from 4.11.0)

Usage

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.

Parameters

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

Return value

Returns true if the caller successfully bounced.

Examples

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.