bool IsClimbing { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The IsClimbing property of the PlayerController class is a boolean value that indicates whether the player is currently in a climbing state. This property is set to true when the player enters a climbing MoveMode.

Usage

Use the IsClimbing property to check if the player is currently climbing. This can be useful for triggering specific animations, sounds, or gameplay mechanics that are only relevant when the player is climbing.

Example

// Example of checking if the player is climbing
if (playerController.IsClimbing)
{
    // Execute climbing-specific logic
    PlayClimbingAnimation();
    AdjustPlayerSpeedForClimbing();
}