Version: 1.8
LanguageEnglish
  • C#

TRigIKGoal

struct in UnityEngine.Animations

/

Implemented in:UnityEngine.AnimationModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Represents an IK goal saved in a TRig.

This class encapsulates the properties of an IK goal, which is used for controlling the position and rotation of bones in the rig. It is associated with the TRig class.

Properties

boneNameGets the name of the bound bone associated with this IK goal.
defaultPositionGets the default position offset of the IK goal.
defaultRotationGets the default rotation offset of the IK goal.
goalNameGets the name of the IK goal.
pathGets the path of the IK goal.
shownInSceneIndicates whether to show a preview of the IK goal in the Rig Tab.