# IKControl(ロブロックス クラス) > Specifies a control to generate a procedural animation pose using Inverse Kinematics. - URL:https://roblox.minecraft-okinawa.com/reference/classes/IKControl/ - 公式:https://create.roblox.com/docs/reference/engine/classes/IKControl - 受け継いでいるクラス:Instance ## プロパティ - `IKControl.ChainRoot: Instance`:The last part that you are interested in moving your character. For example, the upper arm. Must be an ancestor of Class.IKControl.EndEffector|EndEffector and be a BasePart or a Bone in your character. - `IKControl.Enabled: boolean`:Toggles the control on and off. True by default. - `IKControl.EndEffector: Instance`:The part that you are interested in moving to reach the Class.IKControl.Target|Target. For example, the hand of your character. Must be a descendant of Class.IKControl.ChainRoot|ChainRoot and be a BasePart or a Bone in your character. - `IKControl.EndEffectorOffset: CFrame`:An additional offset applied on top of the Class.IKControl.EndEffector|EndEffector in its local space to change where it moves. - `IKControl.Offset: CFrame`:An additional offset applied on top of the Class.IKControl.Target|Target to change where the Class.IKControl.EndEffector|EndEffector moves. - `IKControl.Pole: Instance`:An optional instance that determines which way the chain bends. You can use this to specify which way an elbow or knee bends. - `IKControl.Priority: int`:Specifies the order in which controls are solved. Higher values have higher priority. - `IKControl.SmoothTime: float`:Specifies the average number of seconds that it takes for the Class.IKControl.EndEffector|EndEffector to smoothly reach the Class.IKControl.Target|Target. - `IKControl.Target: Instance`:The object that the Class.IKControl.EndEffector|EndEffector reaches for or points at. It can be anything that has a position in the world, such as BasePart, Attachment, Bone, or Motor6D. - `IKControl.Type: IKControlType`:Specifies how the solver satisfies this control. - `IKControl.Weight: float`:Specifies the weight of the IK control target. Should be in the [0, 1] range. ## メソッド - `IKControl:GetChainCount(): int`:Returns the number of segments in the IK chain between the Class.IKControl.ChainRoot|ChainRoot and the Class.IKControl.EndEffector|EndEffector. - `IKControl:GetChainLength(): float`:Returns the total length, in studs, of the IK chain between the Class.IKControl.ChainRoot|ChainRoot and the Class.IKControl.EndEffector|EndEffector. - `IKControl:GetNodeLocalCFrame(index: int): CFrame`:Returns the CFrame of the chain node at the given index, relative to its parent node in the chain. - `IKControl:GetNodeWorldCFrame(index: int): CFrame`:Returns the world-space CFrame of the chain node at the given index. - `IKControl:GetRawFinalTarget(): CFrame`:Returns the world-space target CFrame the solver aims for before Class.IKControl.SmoothTime|SmoothTime smoothing is applied. - `IKControl:GetSmoothedFinalTarget(): CFrame`:Returns the world-space target CFrame the solver aims for after Class.IKControl.SmoothTime|SmoothTime smoothing is applied. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)