GameObject IkLeftFoot { get; set; }

robot_2Generated
code_blocksInput

Description

The IkLeftFoot property of the CitizenAnimationHelper class is used to specify the target GameObject for inverse kinematics (IK) of the left foot. This property allows the animation system to attempt to position the left foot of the character at the location of the specified GameObject in the world.

Usage

To use the IkLeftFoot property, assign a GameObject that represents the desired position for the character's left foot. This is typically used in scenarios where precise foot placement is required, such as when a character is standing on uneven terrain or interacting with objects in the environment.

Example

// Example of setting the IkLeftFoot property

// Assume 'animationHelper' is an instance of CitizenAnimationHelper
// and 'leftFootTarget' is a GameObject representing the target position for the left foot.

animationHelper.IkLeftFoot = leftFootTarget;