GameObject IkRightHand { get; set; }

robot_2Generated
code_blocksInput

Description

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

Usage

To use the IkRightHand property, assign a GameObject that represents the desired target position for the right hand. This is typically used in scenarios where you want the character's hand to interact with or reach towards a specific object in the game world.

Example

// Example of setting the IkRightHand property

// Assume 'rightHandTarget' is a GameObject in the scene
GameObject rightHandTarget = new GameObject();

// Create an instance of CitizenAnimationHelper
CitizenAnimationHelper animationHelper = new CitizenAnimationHelper();

// Set the IkRightHand to the target GameObject
animationHelper.IkRightHand = rightHandTarget;