public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     br.ReadUInt64();
     br.ReadUInt64();
     m_childFilter = des.ReadClassPointer <hkpCollisionFilter>(br);
 }
Example #2
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_gravity                   = des.ReadVector4(br);
     m_broadPhaseQuerySize       = br.ReadInt32();
     m_contactRestingVelocity    = br.ReadSingle();
     m_broadPhaseType            = (BroadPhaseType)br.ReadSByte();
     m_broadPhaseBorderBehaviour = (BroadPhaseBorderBehaviour)br.ReadSByte();
     m_mtPostponeAndSortBroadPhaseBorderCallbacks = br.ReadBoolean();
     br.ReadUInt32();
     br.ReadByte();
     m_broadPhaseWorldAabb = new hkAabb();
     m_broadPhaseWorldAabb.Read(des, br);
     m_collisionTolerance = br.ReadSingle();
     br.ReadUInt32();
     m_collisionFilter           = des.ReadClassPointer <hkpCollisionFilter>(br);
     m_convexListFilter          = des.ReadClassPointer <hkpConvexListFilter>(br);
     m_expectedMaxLinearVelocity = br.ReadSingle();
     m_sizeOfToiEventQueue       = br.ReadInt32();
     m_expectedMinPsiDeltaTime   = br.ReadSingle();
     br.ReadUInt32();
     m_memoryWatchDog                = des.ReadClassPointer <hkWorldMemoryAvailableWatchDog>(br);
     m_broadPhaseNumMarkers          = br.ReadInt32();
     m_contactPointGeneration        = (ContactPointGeneration)br.ReadSByte();
     m_allowToSkipConfirmedCallbacks = br.ReadBoolean();
     br.ReadUInt16();
     m_solverTau              = br.ReadSingle();
     m_solverDamp             = br.ReadSingle();
     m_solverIterations       = br.ReadInt32();
     m_solverMicrosteps       = br.ReadInt32();
     m_maxConstraintViolation = br.ReadSingle();
     m_forceCoherentConstraintOrderingInSolver = br.ReadBoolean();
     br.ReadUInt16();
     br.ReadByte();
     m_snapCollisionToConvexEdgeThreshold  = br.ReadSingle();
     m_snapCollisionToConcaveEdgeThreshold = br.ReadSingle();
     m_enableToiWeldRejection  = br.ReadBoolean();
     m_enableDeprecatedWelding = br.ReadBoolean();
     br.ReadUInt16();
     m_iterativeLinearCastEarlyOutDistance      = br.ReadSingle();
     m_iterativeLinearCastMaxIterations         = br.ReadInt32();
     m_deactivationNumInactiveFramesSelectFlag0 = br.ReadByte();
     m_deactivationNumInactiveFramesSelectFlag1 = br.ReadByte();
     m_deactivationIntegrateCounter             = br.ReadByte();
     m_shouldActivateOnRigidBodyTransformChange = br.ReadBoolean();
     m_deactivationReferenceDistance            = br.ReadSingle();
     m_toiCollisionResponseRotateNormal         = br.ReadSingle();
     m_useCompoundSpuElf = br.ReadBoolean();
     br.ReadUInt16();
     br.ReadByte();
     m_maxSectorsPerMidphaseCollideTask    = br.ReadInt32();
     m_maxSectorsPerNarrowphaseCollideTask = br.ReadInt32();
     m_processToisMultithreaded            = br.ReadBoolean();
     br.ReadUInt16();
     br.ReadByte();
     m_maxEntriesPerToiMidphaseCollideTask        = br.ReadInt32();
     m_maxEntriesPerToiNarrowphaseCollideTask     = br.ReadInt32();
     m_maxNumToiCollisionPairsSinglethreaded      = br.ReadInt32();
     m_numToisTillAllowedPenetrationSimplifiedToi = br.ReadSingle();
     m_numToisTillAllowedPenetrationToi           = br.ReadSingle();
     m_numToisTillAllowedPenetrationToiHigher     = br.ReadSingle();
     m_numToisTillAllowedPenetrationToiForced     = br.ReadSingle();
     m_enableDeactivation      = br.ReadBoolean();
     m_simulationType          = (SimulationType)br.ReadSByte();
     m_enableSimulationIslands = br.ReadBoolean();
     br.ReadByte();
     m_minDesiredIslandSize         = br.ReadUInt32();
     m_processActionsInSingleThread = br.ReadBoolean();
     m_allowIntegrationOfIslandsWithoutConstraintsInASeparateJob = br.ReadBoolean();
     br.ReadUInt16();
     m_frameMarkerPsiSnap     = br.ReadSingle();
     m_fireCollisionCallbacks = br.ReadBoolean();
     br.ReadUInt16();
     br.ReadByte();
 }