1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.2//EN" "https://www.web3d.org/specifications/x3d-3.2.dtd">
|
3 | <X3D profile='Immersive' version='3.2' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.2.xsd'> |
4 | <head> |
5 | <component level='2' name='RigidBodyPhysics'/> |
6 | <meta name='title' content='SingleHingeJoint.x3d'/> |
7 | <meta name='description' content='Example scene for RigidBodyPhysics component'/> |
8 | <meta name='creator' content='Alan Hudson and Justin Couch'/> |
9 | <meta name='translator' content='Don Brutzman'/> |
10 | <meta name='created' content='1 January 2008'/> |
11 | <meta name='translated' content='26 December 2008'/> |
12 | <meta name='modified' content='20 October 2019'/> |
13 | <meta name='reference' content='http://www.xj3d.org/extensions/index.html#Physics'/> |
14 | <meta name='reference' content='originals/single_hinge_joint.x3dv'/> |
15 | <meta name='reference' content='https://www.web3d.org/x3d/specifications/ISO-IEC-FDIS-19775-1.2-X3D-AbstractSpecification/Part01/components/rigid_physics.html'/> |
16 | <meta name=' warning ' content=' under development '/> |
17 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/SingleHingeJoint.x3d'/> |
18 | <meta name='generator' content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/> |
19 | <meta name='generator' content='Xj3D converter, http://www.xj3d.org'/> |
20 | <meta name='license' content='../../license.html'/> |
21 | </head> |
22 | <Scene> |
23 | <WorldInfo title='SingleHingeJoint.x3d'/> |
24 | <Viewpoint position='0.0 0.0 4.0'/> |
25 | <Group> |
26 |
<!-- CollidableShape
BOX-GEOM-1 is a DEF node that has 1 USE node: USE_1 -->
<CollidableShape DEF='BOX-GEOM-1' containerField='children'> |
27 | <Shape containerField='shape'> |
28 | <Appearance> |
29 | <Material emissiveColor='1.0 0.0 0.0'/> |
30 | </Appearance> |
31 | <Box size='0.3 0.02 0.02'/> |
32 | </Shape> |
33 | </CollidableShape> |
34 |
<!-- CollidableShape
BOX-GEOM-2 is a DEF node that has 1 USE node: USE_1 -->
<CollidableShape DEF='BOX-GEOM-2' containerField='children'> |
35 | <Shape containerField='shape'> |
36 | <Appearance> |
37 | <Material emissiveColor='0.0 0.0 1.0'/> |
38 | </Appearance> |
39 | <Box size='0.3 0.02 0.02'/> |
40 | </Shape> |
41 | </CollidableShape> |
42 |
<!-- CollidableShape
BOX-GEOM-3 is a DEF node that has 1 USE node: USE_1 -->
<CollidableShape DEF='BOX-GEOM-3' containerField='children'> |
43 | <Shape containerField='shape'> |
44 | <Appearance> |
45 | <Material emissiveColor='0.0 1.0 0.0'/> |
46 | </Appearance> |
47 | <Box size='0.3 0.02 0.02'/> |
48 | </Shape> |
49 | </CollidableShape> |
50 | </Group> |
51 | <RigidBodyCollection containerField='children'> |
52 | |
53 | <CollidableShape USE='BOX-GEOM-1' containerField='geometry'/> |
54 | </RigidBody> |
55 | |
56 | <CollidableShape USE='BOX-GEOM-2' containerField='geometry'/> |
57 | </RigidBody> |
58 | |
59 | <CollidableShape USE='BOX-GEOM-3' containerField='geometry'/> |
60 | </RigidBody> |
61 | <SingleAxisHingeJoint anchorPoint='-0.15 0.0 0.0' containerField='joints'> |
62 | <RigidBody USE='BODY-1' containerField='body1'/> |
63 | <RigidBody USE='BODY-2' containerField='body2'/> |
64 | </SingleAxisHingeJoint> |
65 | <SingleAxisHingeJoint anchorPoint='0.15 0.0 0.0' containerField='joints'> |
66 | <RigidBody USE='BODY-2' containerField='body1'/> |
67 | <RigidBody USE='BODY-3' containerField='body2'/> |
68 | </SingleAxisHingeJoint> |
69 | </RigidBodyCollection> |
70 | </Scene> |
71 | </X3D> |
<!--
Color legend: X3D terminology
<X3dNode
DEF='idName' field='value'/>
matches XML terminology
<XmlElement
DEF='idName' attribute='value'/>
(Light-blue background: event-based behavior node or statement)
(Grey background inside box: inserted documentation)
(Magenta background: X3D Extensibility)
-->
<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->