Files
Mujoco_WASM/test/usd/testdata/two_cubes_scene/TwoCubes_scene.usda
T
Matthew Bennice dbf7afaeaa Canonical USD example for MuJoCo Physics. This contains three items:
floor - a static floor centered at origin of sides 100m x 100m

two_cubes - a standard example where 2 cubes have a hinge joint between them.

two_cubes_scene - a scene made up of the floor at (0, 0, 0) and two_cubes at (0, 0, 30).

PiperOrigin-RevId: 607809323
Change-Id: I9931d89441653ce7aaf5145ee42c71c0c8f9ffcb
2024-02-16 14:56:39 -08:00

29 lines
579 B
Plaintext

#usda 1.0
(
defaultPrim = "root"
metersPerUnit = 1.0
upAxis = "Z"
kilogramsPerUnit = 1.0
)
def Xform "root"(
kind = "assembly"
)
{
def "Floor" (
prepend references = [@../floor/Floor.usda@]
)
{
}
def "TwoCubes" (
prepend references = [@../two_cubes/TwoCubes.usda@]
)
{
double3 xformOp:translate = (0, 0, 30.0)
quatf xformOp:orient = (1, 0, 0, 0)
float3 xformOp:scale = (1.0, 1.0, 1.0)
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
}
}