bool GroundIsDynamic { get; set; }

robot_2Generated
code_blocksInput

Description

The GroundIsDynamic property of the PlayerController class indicates whether the player is standing on a surface that is physically dynamic. A dynamic surface is one that can move or change, such as a platform that shifts or a vehicle that the player can stand on.

Usage

Use the GroundIsDynamic property to determine if the player is on a dynamic surface. This can be useful for adjusting player behavior or physics calculations when the ground beneath them is not static.

Example

// Example of checking if the player is on a dynamic surface
if (playerController.GroundIsDynamic)
{
    // Perform actions specific to dynamic ground
    HandleDynamicGround();
}