Skip to content

Instantly share code, notes, and snippets.

@kermado

kermado/Contact Sticking Secret

Last active Dec 15, 2016
Embed
What would you like to do?
<PhysX30Collection version="3.4.0" >
<UpVector >-0 1 -0</UpVector>
<Scale >
<Length >0.4</Length>
<Mass >1</Mass>
<Speed >2</Speed>
</Scale>
<PxMaterial >
<Id >4</Id>
<DynamicFriction >0.6</DynamicFriction>
<Flags >eDISABLE_STRONG_FRICTION</Flags>
<FrictionCombineMode >eMULTIPLY</FrictionCombineMode>
<ReferenceCount >1</ReferenceCount>
<Restitution >0</Restitution>
<RestitutionCombineMode >eMULTIPLY</RestitutionCombineMode>
<StaticFriction >0.6</StaticFriction>
</PxMaterial>
<PxShape >
<Id >6</Id>
<ContactOffset >0.001</ContactOffset>
<Flags >eSIMULATION_SHAPE|eSCENE_QUERY_SHAPE|eVISUALIZATION</Flags>
<LocalPose >0 0 0 1 1 0.025 0</LocalPose>
<Name ></Name>
<QueryFilterData >1 2 0 0</QueryFilterData>
<RestOffset >0</RestOffset>
<SimulationFilterData >1 2 0 0</SimulationFilterData>
<Materials >
<PxMaterialRef >4</PxMaterialRef>
</Materials>
<Geometry >
<PxBoxGeometry >
<HalfExtents >1 0.025 0.3035</HalfExtents>
</PxBoxGeometry>
</Geometry>
</PxShape>
<PxShape >
<Id >9</Id>
<ContactOffset >0.001</ContactOffset>
<Flags >eSIMULATION_SHAPE|eSCENE_QUERY_SHAPE|eVISUALIZATION</Flags>
<LocalPose >0 0 0 1 0.4572 0.025 0</LocalPose>
<Name ></Name>
<QueryFilterData >1 2 0 0</QueryFilterData>
<RestOffset >0</RestOffset>
<SimulationFilterData >1 2 0 0</SimulationFilterData>
<Materials >
<PxMaterialRef >4</PxMaterialRef>
</Materials>
<Geometry >
<PxBoxGeometry >
<HalfExtents >0.4572 0.025 0.3035</HalfExtents>
</PxBoxGeometry>
</Geometry>
</PxShape>
<PxShape >
<Id >12</Id>
<ContactOffset >0.001</ContactOffset>
<Flags >eSIMULATION_SHAPE|eSCENE_QUERY_SHAPE|eVISUALIZATION</Flags>
<LocalPose >0 0 0 1 0 0 0</LocalPose>
<Name ></Name>
<QueryFilterData >2 3 0 0</QueryFilterData>
<RestOffset >0</RestOffset>
<SimulationFilterData >2 3 0 0</SimulationFilterData>
<Materials >
<PxMaterialRef >4</PxMaterialRef>
</Materials>
<Geometry >
<PxBoxGeometry >
<HalfExtents >0.2 0.2 0.2</HalfExtents>
</PxBoxGeometry>
</Geometry>
</PxShape>
<PxRigidStatic >
<Id >5</Id>
<ActorFlags >eVISUALIZATION</ActorFlags>
<ClientBehaviorFlags ></ClientBehaviorFlags>
<DominanceGroup >0</DominanceGroup>
<GlobalPose >0 0 0 1 0 1.829 0</GlobalPose>
<Name ></Name>
<OwnerClient >0</OwnerClient>
<Shapes >
<PxShapeRef >6</PxShapeRef>
</Shapes>
</PxRigidStatic>
<PxRigidStatic >
<Id >8</Id>
<ActorFlags >eVISUALIZATION</ActorFlags>
<ClientBehaviorFlags ></ClientBehaviorFlags>
<DominanceGroup >0</DominanceGroup>
<GlobalPose >-0.000195789 0.00148717 0.130526 0.991444 2 1.829 0</GlobalPose>
<Name ></Name>
<OwnerClient >0</OwnerClient>
<Shapes >
<PxShapeRef >9</PxShapeRef>
</Shapes>
</PxRigidStatic>
<PxRigidDynamic >
<Id >11</Id>
<ActorFlags >eVISUALIZATION</ActorFlags>
<AngularDamping >0</AngularDamping>
<AngularVelocity >0 0 0</AngularVelocity>
<CMassLocalPose >0 0 0 1 0 0 0</CMassLocalPose>
<ClientBehaviorFlags ></ClientBehaviorFlags>
<ContactReportThreshold >3.40282e+038</ContactReportThreshold>
<DominanceGroup >0</DominanceGroup>
<GlobalPose >0 0.382683 0 0.92388 1 2.128 0</GlobalPose>
<InvMass >1</InvMass>
<KinematicTarget >0 0 0 0 0 0 0</KinematicTarget>
<LinearDamping >0</LinearDamping>
<LinearVelocity >0 -0.1 0</LinearVelocity>
<Mass >1</Mass>
<MassSpaceInertiaTensor >0.0266667 0.0266667 0.0266667</MassSpaceInertiaTensor>
<MassSpaceInvInertiaTensor >37.5 37.5 37.5</MassSpaceInvInertiaTensor>
<MaxAngularVelocity >7</MaxAngularVelocity>
<MaxContactImpulse >1e+032</MaxContactImpulse>
<MaxDepenetrationVelocity >1e+032</MaxDepenetrationVelocity>
<MinCCDAdvanceCoefficient >0.15</MinCCDAdvanceCoefficient>
<Name ></Name>
<OwnerClient >0</OwnerClient>
<RigidBodyFlags ></RigidBodyFlags>
<RigidDynamicLockFlags ></RigidDynamicLockFlags>
<SleepThreshold >0.0002</SleepThreshold>
<SolverIterationCounts >
<minPositionIters >8</minPositionIters>
<minVelocityIters >2</minVelocityIters>
</SolverIterationCounts>
<StabilizationThreshold >0.0001</StabilizationThreshold>
<WakeCounter >0.4</WakeCounter>
<Shapes >
<PxShapeRef >12</PxShapeRef>
</Shapes>
</PxRigidDynamic>
</PhysX30Collection>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.