Download

Setting bone transforms in 4.9.2+

Hi,

I have the following code in 4.6.1 to update bone transforms on a vehicle animation:


void UMXVehicleAnimInstance::EvaluateAnimation(struct FPoseContext &Output)
{
   if (mpRootTransform)
   {
       Output.Pose.Bones[BoneIndexFrame] = mpFrameTransform;
       Output.Pose.Bones[BoneIndexBackWheel] = mpBackWheelTransform;
       Output.Pose.Bones[BoneIndexFrontWheel] = mpFrontWheelTransform;
       Output.Pose.Bones[BoneIndexUpperFork] = mpUpperForkTransform;
       Output.Pose.Bones[BoneIndexLowerFork] = mpLowerForkTransform;
       Output.Pose.Bones[BoneIndexSwingarm] = mpSwingArmTransform;
   }
}


What interface is used to update bone transforms in 4.9.2 and up?