public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_referenceFrameGenerator = des.ReadClassPointer <hkbGenerator>(br);
     m_pinnedGenerator         = des.ReadClassPointer <hkbGenerator>(br);
     m_boneIndices             = des.ReadClassPointer <hkbBoneIndexArray>(br);
     m_fraction = br.ReadSingle();
     br.ReadUInt32();
 }
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     br.ReadUInt64();
     m_controlData = new hkbRigidBodyRagdollControlData();
     m_controlData.Read(des, br);
     m_bones = des.ReadClassPointer <hkbBoneIndexArray>(br);
     m_animationBlendFraction = br.ReadSingle();
     br.ReadUInt32();
 }
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     br.ReadUInt64();
     m_controlData = new hkbPoweredRagdollControlData();
     m_controlData.Read(des, br);
     m_bones = des.ReadClassPointer <hkbBoneIndexArray>(br);
     m_worldFromModelModeData = new hkbWorldFromModelModeData();
     m_worldFromModelModeData.Read(des, br);
     m_boneWeights            = des.ReadClassPointer <hkbBoneWeightArray>(br);
     m_animationBlendFraction = br.ReadSingle();
     br.ReadUInt32();
 }
Beispiel #4
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_boneIndices            = des.ReadClassPointer <hkbBoneIndexArray>(br);
     m_mass                   = br.ReadSingle();
     m_stiffness              = br.ReadSingle();
     m_damping                = br.ReadSingle();
     m_maxElongation          = br.ReadSingle();
     m_maxCompression         = br.ReadSingle();
     m_propagateToChildren    = br.ReadBoolean();
     m_affectSiblings         = br.ReadBoolean();
     m_rotateBonesForSkinning = br.ReadBoolean();
     br.ReadUInt64();
     br.ReadByte();
 }
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     br.ReadUInt64();
     m_directionOfFallForwardLS = des.ReadVector4(br);
     m_directionOfFallRightLS   = des.ReadVector4(br);
     m_directionOfFallUpLS      = des.ReadVector4(br);
     m_spineIndices             = des.ReadClassPointer <hkbBoneIndexArray>(br);
     m_leftHand = new hkbpCatchFallModifierHand();
     m_leftHand.Read(des, br);
     m_rightHand = new hkbpCatchFallModifierHand();
     m_rightHand.Read(des, br);
     br.ReadUInt32();
     m_catchFallDoneEvent = new hkbEventProperty();
     m_catchFallDoneEvent.Read(des, br);
     m_spreadHandsMultiplier           = br.ReadSingle();
     m_radarRange                      = br.ReadSingle();
     m_previousTargetBlendWeight       = br.ReadSingle();
     m_handsBendDistance               = br.ReadSingle();
     m_maxReachDistanceForward         = br.ReadSingle();
     m_maxReachDistanceBackward        = br.ReadSingle();
     m_fadeInReachGainSpeed            = br.ReadSingle();
     m_fadeOutReachGainSpeed           = br.ReadSingle();
     m_fadeOutDuration                 = br.ReadSingle();
     m_fadeInTwistSpeed                = br.ReadSingle();
     m_fadeOutTwistSpeed               = br.ReadSingle();
     m_raycastLayer                    = br.ReadInt16();
     m_velocityRagdollBoneIndex        = br.ReadInt16();
     m_directionOfFallRagdollBoneIndex = br.ReadInt16();
     m_orientHands                     = br.ReadBoolean();
     br.ReadUInt32();
     br.ReadByte();
     m_catchFallPosInBS_0    = des.ReadVector4(br);
     m_catchFallPosInBS_1    = des.ReadVector4(br);
     m_currentReachGain_0    = br.ReadSingle();
     m_currentReachGain_1    = br.ReadSingle();
     m_timeSinceLastModify   = br.ReadSingle();
     m_currentTwistGain      = br.ReadSingle();
     m_currentTwistDirection = br.ReadInt16();
     m_catchFallPosIsValid_0 = br.ReadBoolean();
     m_catchFallPosIsValid_1 = br.ReadBoolean();
     br.ReadUInt64();
     br.ReadUInt32();
 }
Beispiel #6
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_boneHiddenTypeCopyStart = br.ReadBoolean();
     br.ReadByte();
     m_oldBoneIndex          = br.ReadInt16();
     m_oldBoneIndexNoVar     = br.ReadInt16();
     m_boneIndex             = br.ReadInt16();
     m_boneIndexNoVar        = br.ReadInt16();
     m_boneChainIndex0       = br.ReadInt16();
     m_boneChainIndex1       = br.ReadInt16();
     m_boneChainIndex2       = br.ReadInt16();
     m_boneContractIndex0    = br.ReadInt16();
     m_boneContractIndex1    = br.ReadInt16();
     m_boneContractIndex2    = br.ReadInt16();
     m_boneHiddenTypeCopyEnd = br.ReadBoolean();
     br.ReadByte();
     m_boneWeightArray = des.ReadClassPointer <hkbBoneWeightArray>(br);
     m_boneIndexArray  = des.ReadClassPointer <hkbBoneIndexArray>(br);
     br.ReadUInt64();
 }
Beispiel #7
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_keyframeInfo       = des.ReadClassArray <hkbKeyframeBonesModifierKeyframeInfo>(br);
     m_keyframedBonesList = des.ReadClassPointer <hkbBoneIndexArray>(br);
 }