Ejemplo n.º 1
0
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     s.WriteVector4(bw, m_centerOfMass0);
     s.WriteVector4(bw, m_centerOfMass1);
     s.WriteQuaternion(bw, m_rotation0);
     s.WriteQuaternion(bw, m_rotation1);
     s.WriteVector4(bw, m_centerOfMassLocal);
 }
Ejemplo n.º 2
0
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     s.WriteVector4(bw, m_pivotInA);
     s.WriteVector4(bw, m_pivotInB);
     s.WriteQuaternion(bw, m_aTc);
     s.WriteQuaternion(bw, m_bTc);
     s.WriteClassPointer <hkpConstraintMotor>(bw, m_motors_0);
     s.WriteClassPointer <hkpConstraintMotor>(bw, m_motors_1);
     s.WriteClassPointer <hkpConstraintMotor>(bw, m_motors_2);
     bw.WriteBoolean(m_switchBodies);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteUInt64(0);
     s.WriteQuaternion(bw, m_rotationOut);
     s.WriteVector4(bw, m_targetPosition);
     s.WriteVector4(bw, m_currentPosition);
     s.WriteQuaternion(bw, m_currentRotation);
     s.WriteVector4(bw, m_localAxisOfRotation);
     s.WriteVector4(bw, m_localFacingDirection);
     bw.WriteBoolean(m_resultIsDelta);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
 }
Ejemplo n.º 4
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassPointerArray <hkpConvexShape>(bw, m_childShapes);
     s.WriteQuaternion(bw, m_rotation);
     s.WriteVector4(bw, m_translation);
 }
Ejemplo n.º 5
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassPointer <hkbHandle>(bw, m_handle);
     s.WriteVector4(bw, m_handlePositionOut);
     s.WriteQuaternion(bw, m_handleRotationOut);
     bw.WriteBoolean(m_isValidOut);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
     bw.WriteSingle(m_extrapolationTimeStep);
     bw.WriteSingle(m_handleChangeSpeed);
     bw.WriteSByte((sbyte)m_handleChangeMode);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteVector4(bw, m_position);
     s.WriteQuaternion(bw, m_orientation);
     s.WriteVector4(bw, m_velocity);
     bw.WriteSingle(m_dynamicFriction);
     bw.WriteSingle(m_staticFriction);
     bw.WriteSingle(m_keepContactTolerance);
     bw.WriteUInt32(0);
     s.WriteVector4(bw, m_up);
     s.WriteClassPointer <hknpShape>(bw, m_shape);
     bw.WriteUInt64(m_userData);
     bw.WriteUInt64(0);
     bw.WriteUInt32(m_collisionFilterInfo);
     bw.WriteSingle(m_keepDistance);
     bw.WriteSingle(m_contactAngleSensitivity);
     bw.WriteUInt32(m_userPlanes);
     bw.WriteSingle(m_maxCharacterSpeedForSolver);
     bw.WriteSingle(m_characterStrength);
     bw.WriteSingle(m_characterMass);
     bw.WriteSingle(m_maxSlope);
     bw.WriteSingle(m_penetrationRecoverySpeed);
     bw.WriteInt32(m_maxCastIterations);
     bw.WriteBoolean(m_refreshManifoldInCheckSupport);
     bw.WriteBoolean(m_presenceInWorld);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
 }
Ejemplo n.º 7
0
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     m_contactPoint.Write(s, bw);
     bw.WriteSingle(m_contactFriction);
     bw.WriteUInt32(0);
     bw.WriteUInt32(m_contactShapeKey);
     bw.WriteUInt32(0);
     s.WriteVector4(bw, m_hardPointWs);
     s.WriteVector4(bw, m_rayEndPointWs);
     bw.WriteSingle(m_currentSuspensionLength);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
     s.WriteVector4(bw, m_suspensionDirectionWs);
     s.WriteVector4(bw, m_spinAxisChassisSpace);
     s.WriteVector4(bw, m_spinAxisWs);
     s.WriteQuaternion(bw, m_steeringOrientationChassisSpace);
     bw.WriteSingle(m_spinVelocity);
     bw.WriteSingle(m_noSlipIdealSpinVelocity);
     bw.WriteSingle(m_spinAngle);
     bw.WriteSingle(m_skidEnergyDensity);
     bw.WriteSingle(m_sideForce);
     bw.WriteSingle(m_forwardSlipVelocity);
     bw.WriteSingle(m_sideSlipVelocity);
     bw.WriteUInt32(0);
 }
Ejemplo n.º 8
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteUInt32(m_collisionFilterInfo);
     bw.WriteUInt32(0);
     s.WriteClassPointer <hknpShape>(bw, m_shape);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     s.WriteVector4(bw, m_position);
     s.WriteQuaternion(bw, m_orientation);
     bw.WriteSingle(m_mass);
     bw.WriteSingle(m_dynamicFriction);
     bw.WriteSingle(m_staticFriction);
     bw.WriteSingle(m_weldingTolerance);
     bw.WriteUInt32(m_reservedBodyId);
     bw.WriteByte(m_additionMode);
     bw.WriteByte(m_additionFlags);
     bw.WriteUInt64(0);
     bw.WriteUInt16(0);
     s.WriteVector4(bw, m_up);
     bw.WriteSingle(m_maxSlope);
     bw.WriteSingle(m_maxForce);
     bw.WriteSingle(m_maxSpeedForSimplexSolver);
     bw.WriteSingle(m_supportDistance);
     bw.WriteSingle(m_hardSupportDistance);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
 }
Ejemplo n.º 9
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteUInt64(0);
     s.WriteVector4(bw, m_translationOut);
     s.WriteQuaternion(bw, m_rotationOut);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteUInt64(0);
     s.WriteVector4(bw, m_translationOut);
     s.WriteQuaternion(bw, m_rotationOut);
     s.WriteVector4(bw, m_leftTranslation);
     s.WriteQuaternion(bw, m_leftRotation);
     s.WriteVector4(bw, m_rightTranslation);
     s.WriteQuaternion(bw, m_rightRotation);
     bw.WriteBoolean(m_invertLeftTransform);
     bw.WriteBoolean(m_invertRightTransform);
     bw.WriteBoolean(m_invertResult);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
     bw.WriteByte(0);
 }
Ejemplo n.º 11
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteQuaternion(bw, m_rotation);
     bw.WriteSingle(m_strength);
     bw.WriteSingle(m_damping);
     bw.WriteUInt64(0);
 }
Ejemplo n.º 12
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     m_childShape.Write(s, bw);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     s.WriteQuaternion(bw, m_rotation);
     s.WriteTransform(bw, m_transform);
 }
Ejemplo n.º 13
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteVector4(bw, m_fromPos);
     s.WriteQuaternion(bw, m_fromRot);
     s.WriteVector4(bw, m_toPos);
     s.WriteQuaternion(bw, m_toRot);
     s.WriteVector4(bw, m_lastPos);
     s.WriteQuaternion(bw, m_lastRot);
     s.WriteQSTransformArray(bw, m_characterPoseAtBeginningOfTransition);
     bw.WriteSingle(m_timeRemaining);
     bw.WriteSingle(m_timeInTransition);
     bw.WriteSByte((sbyte)m_toGeneratorSelfTranstitionMode);
     bw.WriteBoolean(m_initializeCharacterPose);
     bw.WriteBoolean(m_alignThisFrame);
     bw.WriteBoolean(m_alignmentFinished);
     bw.WriteUInt32(0);
 }
Ejemplo n.º 14
0
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     s.WriteVector4(bw, m_keyframedPosition);
     s.WriteQuaternion(bw, m_keyframedRotation);
     bw.WriteInt16(m_boneIndex);
     bw.WriteBoolean(m_isValid);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
     bw.WriteByte(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteUInt64(0);
     s.WriteQuaternion(bw, m_rotationOut);
     s.WriteVector4(bw, m_axis);
     bw.WriteSingle(m_angleDegrees);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
 }
Ejemplo n.º 16
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassPointer <hkbpTarget>(bw, m_targetIn);
     s.WriteVector4(bw, m_offsetInBoneSpace);
     s.WriteVector4(bw, m_alignAxisBS);
     s.WriteVector4(bw, m_targetAlignAxisTS);
     s.WriteVector4(bw, m_alignWithCharacterForwardBS);
     s.WriteVector4(bw, m_currentBonePositionOut);
     s.WriteQuaternion(bw, m_currentBoneRotationOut);
     m_eventToSendWhenTargetReached.Write(s, bw);
     s.WriteClassPointer <hkbGenerator>(bw, m_childGenerator);
     bw.WriteSingle(m_duration);
     bw.WriteInt16(m_ragdollBoneIndex);
     bw.WriteInt16(m_animationBoneIndex);
     bw.WriteSByte((sbyte)m_targetMode);
     bw.WriteSByte(m_alignMode);
     bw.WriteBoolean(m_useVelocityPrediction);
     bw.WriteBoolean(m_affectOrientation);
     bw.WriteBoolean(m_currentBoneIsValidOut);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
     s.WriteVector4(bw, m_finalAnimBonePositionMS);
     s.WriteVector4(bw, m_initialAnimBonePositionMS);
     s.WriteQuaternion(bw, m_finalAnimBoneOrientationMS);
     s.WriteQuaternion(bw, m_animationFromRagdoll);
     s.WriteQSTransform(bw, m_totalMotion);
     s.WriteQSTransform(bw, m_accumulatedMotion);
     bw.WriteBoolean(m_useAnimationData);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteUInt64(0);
     s.WriteVector4(bw, m_translation);
     s.WriteQuaternion(bw, m_rotation);
     bw.WriteBoolean(m_setTranslation);
     bw.WriteBoolean(m_setRotation);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
 }
Ejemplo n.º 18
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     s.WriteQuaternion(bw, m_offset);
     s.WriteVector4(bw, m_yieldStrengthDiag);
     s.WriteVector4(bw, m_yieldStrengthOffDiag);
     s.WriteVector4(bw, m_ultimateStrengthDiag);
     s.WriteVector4(bw, m_ultimateStrengthOffDiag);
 }
Ejemplo n.º 19
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteUInt64(0);
     s.WriteQuaternion(bw, m_rotation);
     s.WriteVector4(bw, m_translation);
     s.WriteVector4(bw, m_vectorIn);
     s.WriteVector4(bw, m_vectorOut);
     bw.WriteBoolean(m_rotateOnly);
     bw.WriteBoolean(m_inverse);
     bw.WriteBoolean(m_computeOnActivate);
     bw.WriteBoolean(m_computeOnModify);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassPointer <hkReferencedObject>(bw, m_complexTypeHkObjectPtr);
     bw.WriteBoolean(m_complexHiddenTypeCopyStart);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
     s.WriteQuaternion(bw, m_complexTypeHkQuaternion);
     s.WriteVector4(bw, m_complexTypeHkVector4);
     bw.WriteSByte((sbyte)m_complexTypeEnumHkInt8);
     bw.WriteByte(0);
     bw.WriteInt16((short)m_complexTypeEnumHkInt16);
     bw.WriteInt32((int)m_complexTypeEnumHkInt32);
     bw.WriteByte((byte)m_complexTypeEnumHkUint8);
     bw.WriteByte(0);
     bw.WriteUInt16((ushort)m_complexTypeEnumHkUint16);
     bw.WriteUInt32((uint)m_complexTypeEnumHkUint32);
     bw.WriteSByte((sbyte)m_complexTypeEnumHkInt8InvalidCheck);
     bw.WriteByte(0);
     bw.WriteInt16((short)m_complexTypeEnumHkInt16InvalidCheck);
     bw.WriteInt32((int)m_complexTypeEnumHkInt32InvalidCheck);
     bw.WriteByte((byte)m_complexTypeEnumHkUint8InvalidCheck);
     bw.WriteByte(0);
     bw.WriteUInt16((ushort)m_complexTypeEnumHkUint16InvalidCheck);
     bw.WriteUInt32((uint)m_complexTypeEnumHkUint32InvalidCheck);
     bw.WriteSByte(m_complexTypeFlagsHkInt8);
     bw.WriteByte(0);
     bw.WriteInt16(m_complexTypeFlagsHkInt16);
     bw.WriteInt32(m_complexTypeFlagsHkInt32);
     bw.WriteByte(m_complexTypeFlagsHkUint8);
     bw.WriteByte(0);
     bw.WriteUInt16(m_complexTypeFlagsHkUint16);
     bw.WriteUInt32(m_complexTypeFlagsHkUint32);
     bw.WriteSByte(m_complexTypeFlagsHkInt8InvalidCheck);
     bw.WriteByte(0);
     bw.WriteInt16(m_complexTypeFlagsHkInt16InvalidCheck);
     bw.WriteInt32(m_complexTypeFlagsHkInt32InvalidCheck);
     bw.WriteByte(m_complexTypeFlagsHkUint8InvalidCheck);
     bw.WriteByte(0);
     bw.WriteUInt16(m_complexTypeFlagsHkUint16InvalidCheck);
     bw.WriteUInt32(m_complexTypeFlagsHkUint32InvalidCheck);
     bw.WriteBoolean(m_complexHiddenTypeCopyEnd);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
 }
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     bw.WriteUInt16(m_motionPropertiesId);
     bw.WriteBoolean(m_enableDeactivation);
     bw.WriteByte(0);
     bw.WriteSingle(m_inverseMass);
     bw.WriteSingle(m_massFactor);
     bw.WriteSingle(m_maxLinearAccelerationDistancePerStep);
     bw.WriteSingle(m_maxRotationToPreventTunneling);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
     s.WriteVector4(bw, m_inverseInertiaLocal);
     s.WriteVector4(bw, m_centerOfMassWorld);
     s.WriteQuaternion(bw, m_orientation);
     s.WriteVector4(bw, m_linearVelocity);
     s.WriteVector4(bw, m_angularVelocity);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteSByte((sbyte)m_alignMode);
     bw.WriteSByte((sbyte)m_alignTargetMode);
     bw.WriteBoolean(m_alignSingleAxis);
     bw.WriteUInt32(0);
     bw.WriteByte(0);
     s.WriteVector4(bw, m_alignAxis);
     s.WriteVector4(bw, m_alignTargetAxis);
     s.WriteQuaternion(bw, m_frameOfReference);
     bw.WriteSingle(m_duration);
     bw.WriteInt32(m_alignModeIndex);
     bw.WriteInt32(m_alignTargetModeIndex);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
 }
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     s.WriteVector4(bw, m_targetPosition);
     s.WriteQuaternion(bw, m_targetRotation);
     s.WriteVector4(bw, m_targetNormal);
     s.WriteClassPointer <hkbHandle>(bw, m_targetHandle);
     bw.WriteSingle(m_transformOnFraction);
     bw.WriteSingle(m_normalOnFraction);
     bw.WriteSingle(m_fadeInDuration);
     bw.WriteSingle(m_fadeOutDuration);
     bw.WriteSingle(m_extrapolationTimeStep);
     bw.WriteSingle(m_handleChangeSpeed);
     bw.WriteSByte((sbyte)m_handleChangeMode);
     bw.WriteBoolean(m_fixUp);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
 }
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     s.WriteVector4(bw, m_elbowAxisLS);
     s.WriteVector4(bw, m_backHandNormalLS);
     s.WriteVector4(bw, m_handOffsetLS);
     s.WriteQuaternion(bw, m_handOrientationOffsetLS);
     bw.WriteSingle(m_maxElbowAngleDegrees);
     bw.WriteSingle(m_minElbowAngleDegrees);
     bw.WriteInt16(m_shoulderIndex);
     bw.WriteInt16(m_shoulderSiblingIndex);
     bw.WriteInt16(m_elbowIndex);
     bw.WriteInt16(m_elbowSiblingIndex);
     bw.WriteInt16(m_wristIndex);
     bw.WriteBoolean(m_enforceEndPosition);
     bw.WriteBoolean(m_enforceEndRotation);
     bw.WriteUInt32(0);
     s.WriteStringPointer(bw, m_localFrameName);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteInt16(m_dockingBone);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     s.WriteVector4(bw, m_translationOffset);
     s.WriteQuaternion(bw, m_rotationOffset);
     bw.WriteSByte((sbyte)m_blendType);
     bw.WriteByte(0);
     bw.WriteUInt16(m_flags);
     bw.WriteUInt32(0);
     s.WriteClassPointer <hkbGenerator>(bw, m_child);
     bw.WriteInt32(m_intervalStart);
     bw.WriteInt32(m_intervalEnd);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
 }
Ejemplo n.º 26
0
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     s.WriteClassPointer <hknpShape>(bw, m_shape);
     bw.WriteUInt32(m_reservedBodyId);
     bw.WriteUInt32(m_motionId);
     bw.WriteByte(m_qualityId);
     bw.WriteByte(0);
     bw.WriteUInt16(m_materialId);
     bw.WriteUInt32(m_collisionFilterInfo);
     bw.WriteInt32(m_flags);
     bw.WriteSingle(m_collisionLookAheadDistance);
     s.WriteStringPointer(bw, m_name);
     bw.WriteUInt64(m_userData);
     s.WriteVector4(bw, m_position);
     s.WriteQuaternion(bw, m_orientation);
     bw.WriteByte(m_spuFlags);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
     s.WriteClassPointer <hkLocalFrame>(bw, m_localFrame);
 }
Ejemplo n.º 27
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteQuaternion(bw, m_worldFromModelRotation);
     bw.WriteSingle(m_blendSpeed);
     bw.WriteSingle(m_minSpeedToSwitch);
     bw.WriteSingle(m_minSwitchTimeNoError);
     bw.WriteSingle(m_minSwitchTimeFullError);
     bw.WriteInt32(m_startPlayingEventId);
     bw.WriteInt32(m_startMatchingEventId);
     bw.WriteInt16(m_rootBoneIndex);
     bw.WriteInt16(m_otherBoneIndex);
     bw.WriteInt16(m_anotherBoneIndex);
     bw.WriteInt16(m_pelvisIndex);
     bw.WriteSByte((sbyte)m_mode);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
 }
Ejemplo n.º 28
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteUInt32(m_collisionFilterInfo);
     bw.WriteUInt32(0);
     s.WriteClassPointer <hkpShape>(bw, m_shape);
     s.WriteVector4(bw, m_position);
     s.WriteQuaternion(bw, m_rotation);
     bw.WriteSingle(m_mass);
     bw.WriteSingle(m_friction);
     bw.WriteSingle(m_maxLinearVelocity);
     bw.WriteSingle(m_allowedPenetrationDepth);
     s.WriteVector4(bw, m_up);
     bw.WriteSingle(m_maxSlope);
     bw.WriteSingle(m_maxForce);
     bw.WriteSingle(m_unweldingHeightOffsetFactor);
     bw.WriteSingle(m_maxSpeedForSimplexSolver);
     bw.WriteSingle(m_supportDistance);
     bw.WriteSingle(m_hardSupportDistance);
     bw.WriteInt32(m_vdbColor);
     bw.WriteUInt32(0);
 }
Ejemplo n.º 29
0
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     s.WriteVector4(bw, m_centerOfMassAndMassFactor);
     s.WriteQuaternion(bw, m_orientation);
     bw.WriteInt16(m_inverseInertia_0);
     bw.WriteInt16(m_inverseInertia_1);
     bw.WriteInt16(m_inverseInertia_2);
     bw.WriteInt16(m_inverseInertia_3);
     bw.WriteUInt32(m_firstAttachedBodyId);
     bw.WriteUInt32(0);
     bw.WriteInt16(m_linearVelocityCage_0);
     bw.WriteInt16(m_linearVelocityCage_1);
     bw.WriteInt16(m_linearVelocityCage_2);
     bw.WriteInt16(m_integrationFactor);
     bw.WriteUInt16(m_motionPropertiesId);
     bw.WriteInt16(m_maxLinearAccelerationDistancePerStep);
     bw.WriteInt16(m_maxRotationToPreventTunneling);
     bw.WriteByte(m_cellIndex);
     bw.WriteByte(m_spaceSplitterWeight);
     s.WriteVector4(bw, m_linearVelocity);
     s.WriteVector4(bw, m_angularVelocity);
     s.WriteVector4(bw, m_previousStepLinearVelocity);
     s.WriteVector4(bw, m_previousStepAngularVelocity);
 }
Ejemplo n.º 30
0
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     s.WriteQuaternion(bw, m_rotation);
     s.WriteVector4(bw, m_translation);
 }