Clase de motor
IKControl
*Este contenido se traduce usando la IA (Beta) y puede contener errores. Para ver esta página en inglés, haz clic en aquí.
Resumen
Propiedades
Métodos
GetNodeLocalCFrame(index: number):CFrame |
GetNodeWorldCFrame(index: number):CFrame |
Muestras de código
Configuración de IKControl
local character = script.Parent.Character
local humanoid = character.Humanoid
local root = character.HumanoidRootPart
-- Crea un nuevo attachment para usar como el IKControl.Target
local target = Instance.new("Attachment")
target.CFrame = CFrame.new(-1, 0, -1)
target.Parent = root
local ikControl = Instance.new("IKControl")
ikControl.Type = Enum.IKControlType.Position
ikControl.EndEffector = character.LeftHand
ikControl.ChainRoot = character.LeftUpperArm
ikControl.Target = target
ikControl.Parent = humanoidReferencia API
Propiedades
Métodos
GetNodeLocalCFrame
GetNodeWorldCFrame