File size: 1,070 Bytes
c7ec147 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | #usda 1.0
(
defaultPrim = "asset"
metersPerUnit = 1
upAxis = "Z"
)
def Xform "asset" (
prepend apiSchemas = ["PhysicsRigidBodyAPI", "PhysicsMassAPI", "PhysxRigidBodyAPI", "MaterialBindingAPI"]
)
{
rel material:binding:physics = </asset/PhysicsMaterial> (
bindMaterialAs = "strongerThanDescendants"
)
bool physics:kinematicEnabled = 0
float physics:mass = 0.215
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 = @middle_book.usda@
)
{
quatf xformOp:orient = (0.70710677, 0.70710677, 0, 0)
double3 xformOp:translate = (0, 0.0972, 0.0091)
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient"]
}
}
|