float StepUpHeight { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The StepUpHeight property defines the maximum height that a character can step up onto when walking. This property is part of the MoveModeWalk class, which handles the walking movement mode for a character in the game. Adjusting this value allows you to control how high a character can step over obstacles without jumping.

Usage

To use the StepUpHeight property, you can get or set its value to adjust the character's ability to step over obstacles. This property is useful for fine-tuning the character's movement capabilities in different environments.

Example usage:

var walkMode = new MoveModeWalk();
walkMode.StepUpHeight = 0.5f; // Set the step-up height to 0.5 units

Example

var walkMode = new MoveModeWalk();
walkMode.StepUpHeight = 0.5f; // Set the step-up height to 0.5 units