File size: 1,433 Bytes
e60cbb3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
40
41
42
43
44
45
46
47
48
49
50
#usda 1.0
(
    defaultPrim = "World"
    metersPerUnit = 1
    upAxis = "Z"
)

def Xform "World"
{
    quatf xformOp:orient = (1, 0, 0, 0)
    uniform token[] xformOpOrder = ["xformOp:orient"]

    def Xform "entity" (
        prepend apiSchemas = ["PhysicsRigidBodyAPI", "PhysicsMassAPI"]
        prepend payload = @./Aligned.usd@
    )
    {
        float physics:mass = 0.7813617
        quatf xformOp:orient = (0.70711, 0.70711, 0, 0)
        uniform token[] xformOpOrder = ["xformOp:orient"]

        over "Aligned"
        {
            over "Scan_Scan_001_Scan_Scan_004" (
                prepend apiSchemas = ["MaterialBindingAPI", "PhysicsCollisionAPI", "PhysicsMeshCollisionAPI", "PhysxCollisionAPI", "PhysxConvexDecompositionCollisionAPI", "PhysxConvexHullCollisionAPI"]
            )
            {
                uniform token physics:approximation = "convexDecomposition"
                bool physics:collisionEnabled = 1
            }
        }
    }

    def Xform "lowpoly"
    {
        uniform token[] xformOpOrder = []

        def Cube "bbox"
        {
            double size = 1
            token visibility = "invisible"
            quatf xformOp:orient = (1, 0, 0, 0)
            float3 xformOp:scale = (0.08173294, 0.13057908, 0.139824)
            double3 xformOp:translate = (0, 0, 0)
            uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
        }
    }
}