#usda 1.0 ( defaultPrim = "asset" metersPerUnit = 1 upAxis = "Z" ) def Xform "asset" ( prepend apiSchemas = ["PhysicsRigidBodyAPI", "PhysicsMassAPI", "PhysxRigidBodyAPI", "MaterialBindingAPI"] ) { rel material:binding:physics = ( bindMaterialAs = "strongerThanDescendants" ) bool physics:kinematicEnabled = 1 float physics:mass = 0.24 int physxRigidBody:solverPositionIterationCount = 16 def Material "PhysicsMaterial" ( prepend apiSchemas = ["PhysicsMaterialAPI"] ) { float physics:dynamicFriction = 0.65 float physics:restitution = 0 float physics:staticFriction = 0.8 } def "Source" ( delete apiSchemas = ["PhysicsRigidBodyAPI", "PhysicsMassAPI", "PhysxRigidBodyAPI"] prepend references = @d1_cardboard_box.usda@ ) { float3 xformOp:scale = (1, 1, 1) double3 xformOp:translate = (0, 0, 0) uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:scale"] } def Cube "box_1" ( prepend apiSchemas = ["MaterialBindingAPI", "PhysicsCollisionAPI", "PhysxCollisionAPI"] ) { rel material:binding = float physxCollision:contactOffset = 0.001 float physxCollision:restOffset = 0 double size = 1 quatf xformOp:orient = (0.9961947, 0, 0.087155744, 0) float3 xformOp:scale = (0.0036, 0.177, 0.19) double3 xformOp:translate = (0.11949657687835838, 0, 0.18255673653615975) uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"] } def "Looks" { def Material "box_flap" { token outputs:surface.connect = def Shader "Surface" { uniform token info:id = "UsdPreviewSurface" color3f inputs:diffuseColor = (0.47, 0.31, 0.17) float inputs:metallic = 0 float inputs:roughness = 0.6 token outputs:surface } } def Material "box_crease" { token outputs:surface.connect = def Shader "Surface" { uniform token info:id = "UsdPreviewSurface" color3f inputs:diffuseColor = (0.36, 0.23, 0.13) float inputs:metallic = 0 float inputs:roughness = 0.6 token outputs:surface } } } def Cylinder "tube_2" ( prepend apiSchemas = ["MaterialBindingAPI"] ) { double height = 0.172 rel material:binding = double radius = 0.0006 quatf xformOp:orient = (0.70710677, -0.70710677, 0, 0) double3 xformOp:translate = (0.10291012995433624, 0, 0.09983288528313428) uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient"] } def Cylinder "tube_3" ( prepend apiSchemas = ["MaterialBindingAPI"] ) { double height = 0.172 rel material:binding = double radius = 0.0006 quatf xformOp:orient = (0.70710677, -0.70710677, 0, 0) double3 xformOp:translate = (0.10360472266500396, 0, 0.10377211629518311) uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient"] } }