<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.2//EN" "https://www.web3d.org/specifications/x3d-3.2.dtd">
<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'>
<head>
</head>
<!--
-->
X3D Tooltips element index:
Appearance,
Box,
CollidableShape,
component,
Group,
head,
Material,
meta,
RigidBody,
RigidBodyCollection,
Scene,
Shape,
UniversalJoint,
WorldInfo,
X3D,
accessType and
type,
XML data types,
field types
<Scene>
<WorldInfo title='UniversalJointExample.x3d'/>
<Group>
<
CollidableShape DEF='
BOX-GEOM-1'
containerField='
children'>
<Shape containerField='shape'>
<Appearance>
<Material emissiveColor='1.0 0.0 0.0'/>
</Appearance>
<Box size='1.0 0.2 0.2'/>
</Shape>
</
CollidableShape>
<
CollidableShape DEF='
BOX-GEOM-2'
containerField='
children'>
<Shape containerField='shape'>
<Appearance>
<Material emissiveColor='0.0 0.0 1.0'/>
</Appearance>
<Box size='1.0 0.2 0.2'/>
</Shape>
</
CollidableShape>
</Group>
<
RigidBodyCollection containerField='
children'>
<
RigidBody DEF='
BODY-1'
angularVelocity='
0.5 0.0 0.0'
containerField='
bodies'
mass='
0.1'
position='
0.5 0.0 0.0'
useGlobalGravity='
false'>
<
CollidableShape USE='
BOX-GEOM-1'
containerField='
geometry'/>
</
RigidBody>
<
RigidBody DEF='
BODY-2'
angularDampingFactor='
0'
containerField='
bodies'
mass='
0.1'
orientation='
0.0 0.0 1.0 0.7854'
position='
-0.35355 -0.35355 0.0'
useGlobalGravity='
false'>
<
CollidableShape USE='
BOX-GEOM-2'
containerField='
geometry'/>
</
RigidBody>
<
UniversalJoint axis1='
0.7071 0.7071 0.0'
axis2='
0.0 0.0 1.0'
containerField='
joints'>
<
RigidBody USE='
BODY-1'
containerField='
body1'/>
<
RigidBody USE='
BODY-2'
containerField='
body2'/>
</
UniversalJoint>
</
RigidBodyCollection>
</Scene>
</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.
-->