float GroundYaw { get; set; }

robot_2Generated
code_blocksInput

Description

The GroundYaw property of the PlayerController class represents the yaw angle of the ground beneath the player. This value is typically used to determine the orientation of the player relative to the ground surface they are standing on. It is a single-precision floating-point value.

Usage

Use the GroundYaw property to get or set the yaw angle of the ground beneath the player. This can be useful for aligning the player's orientation with the ground or for implementing features that depend on the ground's orientation.

Example

// Example of accessing the GroundYaw property
PlayerController playerController = new PlayerController();
float currentGroundYaw = playerController.GroundYaw;

// Set a new ground yaw value
playerController.GroundYaw = 45.0f;