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
.
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
.
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 of checking if the player is climbing if (playerController.IsClimbing) { // Execute climbing-specific logic PlayClimbingAnimation(); AdjustPlayerSpeedForClimbing(); }