x_ite 8.8.6 → 8.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Makefile +6 -0
- package/build/docs/nodes.pl +434 -0
- package/dist/assets/components/Annotation.js +14 -14
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +13 -13
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +28 -28
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +14 -14
- package/dist/assets/components/DIS.min.js +1 -1
- package/dist/assets/components/EventUtilities.js +9 -9
- package/dist/assets/components/EventUtilities.min.js +1 -1
- package/dist/assets/components/Geometry2D.js +19 -19
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +52 -40
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +19 -19
- package/dist/assets/components/HAnim.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensor.js +8 -8
- package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
- package/dist/assets/components/Layout.js +27 -27
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +26 -26
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +76 -74
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +18 -18
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +29 -30
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +37 -37
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +24 -24
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjector.js +23 -23
- package/dist/assets/components/TextureProjector.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +30 -30
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +21 -21
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +9 -9
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +1002 -133
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.zip +0 -0
- package/docs/_config.yml +2 -2
- package/docs/_posts/components/CADGeometry/CADAssembly.md +47 -21
- package/docs/_posts/components/CADGeometry/CADFace.md +47 -21
- package/docs/_posts/components/CADGeometry/CADLayer.md +50 -21
- package/docs/_posts/components/CADGeometry/CADPart.md +56 -26
- package/docs/_posts/components/CADGeometry/IndexedQuadSet.md +55 -26
- package/docs/_posts/components/CADGeometry/QuadSet.md +52 -20
- package/docs/_posts/components/Core/MetadataBoolean.md +27 -36
- package/docs/_posts/components/Core/MetadataDouble.md +31 -16
- package/docs/_posts/components/Core/MetadataFloat.md +31 -16
- package/docs/_posts/components/Core/MetadataInteger.md +31 -16
- package/docs/_posts/components/Core/MetadataSet.md +30 -15
- package/docs/_posts/components/Core/MetadataString.md +31 -16
- package/docs/_posts/components/Core/WorldInfo.md +21 -10
- package/docs/_posts/components/CubeMapTexturing/ComposedCubeMapTexture.md +39 -30
- package/docs/_posts/components/CubeMapTexturing/GeneratedCubeMapTexture.md +19 -10
- package/docs/_posts/components/CubeMapTexturing/ImageCubeMapTexture.md +22 -18
- package/docs/_posts/components/DIS/DISEntityManager.md +43 -18
- package/docs/_posts/components/DIS/DISEntityTypeMapping.md +43 -34
- package/docs/_posts/components/DIS/EspduTransform.md +211 -78
- package/docs/_posts/components/DIS/ReceiverPdu.md +95 -45
- package/docs/_posts/components/DIS/SignalPdu.md +98 -44
- package/docs/_posts/components/DIS/TransmitterPdu.md +118 -68
- package/docs/_posts/components/EnvironmentalEffects/Background.md +80 -39
- package/docs/_posts/components/EnvironmentalEffects/Fog.md +39 -18
- package/docs/_posts/components/EnvironmentalEffects/FogCoordinate.md +10 -6
- package/docs/_posts/components/EnvironmentalEffects/LocalFog.md +21 -14
- package/docs/_posts/components/EnvironmentalEffects/TextureBackground.md +83 -31
- package/docs/_posts/components/EnvironmentalSensor/ProximitySensor.md +36 -8
- package/docs/_posts/components/EnvironmentalSensor/TransformSensor.md +31 -7
- package/docs/_posts/components/EnvironmentalSensor/VisibilitySensor.md +23 -7
- package/docs/_posts/components/EventUtilities/BooleanFilter.md +27 -14
- package/docs/_posts/components/EventUtilities/BooleanSequencer.md +46 -17
- package/docs/_posts/components/EventUtilities/BooleanToggle.md +29 -8
- package/docs/_posts/components/EventUtilities/BooleanTrigger.md +24 -7
- package/docs/_posts/components/EventUtilities/IntegerSequencer.md +46 -17
- package/docs/_posts/components/EventUtilities/IntegerTrigger.md +34 -9
- package/docs/_posts/components/EventUtilities/TimeTrigger.md +30 -9
- package/docs/_posts/components/Followers/ColorChaser.md +35 -11
- package/docs/_posts/components/Followers/ColorDamper.md +32 -12
- package/docs/_posts/components/Followers/CoordinateChaser.md +33 -9
- package/docs/_posts/components/Followers/CoordinateDamper.md +30 -10
- package/docs/_posts/components/Followers/OrientationChaser.md +34 -10
- package/docs/_posts/components/Followers/OrientationDamper.md +31 -11
- package/docs/_posts/components/Followers/PositionChaser.md +33 -9
- package/docs/_posts/components/Followers/PositionChaser2D.md +33 -9
- package/docs/_posts/components/Followers/PositionDamper.md +30 -10
- package/docs/_posts/components/Followers/PositionDamper2D.md +30 -10
- package/docs/_posts/components/Followers/ScalarChaser.md +33 -9
- package/docs/_posts/components/Followers/ScalarDamper.md +30 -10
- package/docs/_posts/components/Followers/TexCoordChaser2D.md +33 -9
- package/docs/_posts/components/Followers/TexCoordDamper2D.md +30 -10
- package/docs/_posts/components/Geometry2D/Arc2D.md +39 -14
- package/docs/_posts/components/Geometry2D/ArcClose2D.md +43 -19
- package/docs/_posts/components/Geometry2D/Circle2D.md +21 -10
- package/docs/_posts/components/Geometry2D/Disk2D.md +32 -14
- package/docs/_posts/components/Geometry2D/Polyline2D.md +25 -10
- package/docs/_posts/components/Geometry2D/Polypoint2D.md +16 -8
- package/docs/_posts/components/Geometry2D/Rectangle2D.md +23 -12
- package/docs/_posts/components/Geometry2D/TriangleSet2D.md +23 -12
- package/docs/_posts/components/Geometry3D/Box.md +26 -13
- package/docs/_posts/components/Geometry3D/Cone.md +31 -23
- package/docs/_posts/components/Geometry3D/Cylinder.md +32 -28
- package/docs/_posts/components/Geometry3D/ElevationGrid.md +75 -31
- package/docs/_posts/components/Geometry3D/Extrusion.md +100 -48
- package/docs/_posts/components/Geometry3D/IndexedFaceSet.md +95 -43
- package/docs/_posts/components/Geometry3D/Sphere.md +25 -13
- package/docs/_posts/components/Geospatial/GeoCoordinate.md +30 -14
- package/docs/_posts/components/Geospatial/GeoElevationGrid.md +85 -40
- package/docs/_posts/components/Geospatial/GeoLOD.md +69 -30
- package/docs/_posts/components/Geospatial/GeoLocation.md +66 -28
- package/docs/_posts/components/Geospatial/GeoMetadata.md +28 -22
- package/docs/_posts/components/Geospatial/GeoOrigin.md +34 -19
- package/docs/_posts/components/Geospatial/GeoPositionInterpolator.md +64 -18
- package/docs/_posts/components/Geospatial/GeoProximitySensor.md +67 -18
- package/docs/_posts/components/Geospatial/GeoTouchSensor.md +66 -21
- package/docs/_posts/components/Geospatial/GeoTransform.md +74 -30
- package/docs/_posts/components/Geospatial/GeoViewpoint.md +88 -41
- package/docs/_posts/components/Grouping/Group.md +34 -18
- package/docs/_posts/components/Grouping/StaticGroup.md +39 -18
- package/docs/_posts/components/Grouping/Switch.md +41 -22
- package/docs/_posts/components/Grouping/Transform.md +47 -30
- package/docs/_posts/components/HAnim/HAnimDisplacer.md +48 -37
- package/docs/_posts/components/HAnim/HAnimHumanoid.md +245 -55
- package/docs/_posts/components/HAnim/HAnimJoint.md +136 -70
- package/docs/_posts/components/HAnim/HAnimMotion.md +128 -18
- package/docs/_posts/components/HAnim/HAnimSegment.md +92 -52
- package/docs/_posts/components/HAnim/HAnimSite.md +95 -52
- package/docs/_posts/components/Interpolation/ColorInterpolator.md +41 -11
- package/docs/_posts/components/Interpolation/CoordinateInterpolator.md +39 -13
- package/docs/_posts/components/Interpolation/CoordinateInterpolator2D.md +43 -14
- package/docs/_posts/components/Interpolation/EaseInEaseOut.md +36 -12
- package/docs/_posts/components/Interpolation/NormalInterpolator.md +40 -10
- package/docs/_posts/components/Interpolation/OrientationInterpolator.md +40 -10
- package/docs/_posts/components/Interpolation/PositionInterpolator.md +40 -10
- package/docs/_posts/components/Interpolation/PositionInterpolator2D.md +43 -14
- package/docs/_posts/components/Interpolation/ScalarInterpolator.md +39 -13
- package/docs/_posts/components/Interpolation/SplinePositionInterpolator.md +41 -16
- package/docs/_posts/components/Interpolation/SplinePositionInterpolator2D.md +41 -16
- package/docs/_posts/components/Interpolation/SplineScalarInterpolator.md +40 -24
- package/docs/_posts/components/Interpolation/SquadOrientationInterpolator.md +35 -11
- package/docs/_posts/components/KeyDeviceSensor/KeySensor.md +51 -9
- package/docs/_posts/components/KeyDeviceSensor/StringSensor.md +31 -9
- package/docs/_posts/components/Layering/Layer.md +39 -14
- package/docs/_posts/components/Layering/LayerSet.md +21 -15
- package/docs/_posts/components/Layering/Viewport.md +34 -18
- package/docs/_posts/components/Layout/Layout.md +28 -17
- package/docs/_posts/components/Layout/LayoutGroup.md +37 -21
- package/docs/_posts/components/Layout/LayoutLayer.md +40 -15
- package/docs/_posts/components/Layout/ScreenFontStyle.md +74 -47
- package/docs/_posts/components/Layout/ScreenGroup.md +35 -19
- package/docs/_posts/components/Lighting/DirectionalLight.md +23 -15
- package/docs/_posts/components/Lighting/EnvironmentLight.md +7 -11
- package/docs/_posts/components/Lighting/PointLight.md +27 -15
- package/docs/_posts/components/Lighting/SpotLight.md +36 -23
- package/docs/_posts/components/NURBS/Contour2D.md +17 -9
- package/docs/_posts/components/NURBS/ContourPolyline2D.md +10 -6
- package/docs/_posts/components/NURBS/CoordinateDouble.md +13 -9
- package/docs/_posts/components/NURBS/NurbsCurve.md +16 -12
- package/docs/_posts/components/NURBS/NurbsCurve2D.md +15 -11
- package/docs/_posts/components/NURBS/NurbsOrientationInterpolator.md +31 -15
- package/docs/_posts/components/NURBS/NurbsPatchSurface.md +29 -23
- package/docs/_posts/components/NURBS/NurbsPositionInterpolator.md +30 -14
- package/docs/_posts/components/NURBS/NurbsSet.md +51 -17
- package/docs/_posts/components/NURBS/NurbsSurfaceInterpolator.md +48 -28
- package/docs/_posts/components/NURBS/NurbsSweptSurface.md +31 -14
- package/docs/_posts/components/NURBS/NurbsSwungSurface.md +25 -14
- package/docs/_posts/components/NURBS/NurbsTextureCoordinate.md +26 -22
- package/docs/_posts/components/NURBS/NurbsTrimmedSurface.md +36 -26
- package/docs/_posts/components/Navigation/Billboard.md +35 -19
- package/docs/_posts/components/Navigation/Collision.md +61 -24
- package/docs/_posts/components/Navigation/LOD.md +55 -25
- package/docs/_posts/components/Navigation/NavigationInfo.md +69 -26
- package/docs/_posts/components/Navigation/OrthoViewpoint.md +89 -38
- package/docs/_posts/components/Navigation/Viewpoint.md +95 -40
- package/docs/_posts/components/Navigation/ViewpointGroup.md +29 -18
- package/docs/_posts/components/Networking/Anchor.md +56 -58
- package/docs/_posts/components/Networking/Inline.md +44 -31
- package/docs/_posts/components/Networking/LoadSensor.md +43 -11
- package/docs/_posts/components/ParticleSystems/BoundedPhysicsModel.md +16 -8
- package/docs/_posts/components/ParticleSystems/ConeEmitter.md +31 -12
- package/docs/_posts/components/ParticleSystems/ExplosionEmitter.md +23 -12
- package/docs/_posts/components/ParticleSystems/ForcePhysicsModel.md +15 -8
- package/docs/_posts/components/ParticleSystems/ParticleSystem.md +110 -55
- package/docs/_posts/components/ParticleSystems/PointEmitter.md +25 -14
- package/docs/_posts/components/ParticleSystems/PolylineEmitter.md +28 -16
- package/docs/_posts/components/ParticleSystems/SurfaceEmitter.md +25 -14
- package/docs/_posts/components/ParticleSystems/VolumeEmitter.md +35 -16
- package/docs/_posts/components/ParticleSystems/WindPhysicsModel.md +12 -8
- package/docs/_posts/components/Picking/LinePickSensor.md +57 -31
- package/docs/_posts/components/Picking/PickableGroup.md +44 -26
- package/docs/_posts/components/Picking/PointPickSensor.md +47 -26
- package/docs/_posts/components/Picking/PrimitivePickSensor.md +43 -31
- package/docs/_posts/components/Picking/VolumePickSensor.md +43 -26
- package/docs/_posts/components/PointingDeviceSensor/CylinderSensor.md +46 -21
- package/docs/_posts/components/PointingDeviceSensor/PlaneSensor.md +43 -20
- package/docs/_posts/components/PointingDeviceSensor/SphereSensor.md +37 -15
- package/docs/_posts/components/PointingDeviceSensor/TouchSensor.md +50 -16
- package/docs/_posts/components/Rendering/ClipPlane.md +21 -16
- package/docs/_posts/components/Rendering/Color.md +14 -14
- package/docs/_posts/components/Rendering/ColorRGBA.md +13 -9
- package/docs/_posts/components/Rendering/Coordinate.md +11 -7
- package/docs/_posts/components/Rendering/IndexedLineSet.md +55 -27
- package/docs/_posts/components/Rendering/IndexedTriangleFanSet.md +44 -23
- package/docs/_posts/components/Rendering/IndexedTriangleSet.md +45 -24
- package/docs/_posts/components/Rendering/IndexedTriangleStripSet.md +45 -20
- package/docs/_posts/components/Rendering/LineSet.md +26 -14
- package/docs/_posts/components/Rendering/Normal.md +28 -6
- package/docs/_posts/components/Rendering/PointSet.md +24 -11
- package/docs/_posts/components/Rendering/TriangleFanSet.md +44 -19
- package/docs/_posts/components/Rendering/TriangleSet.md +44 -19
- package/docs/_posts/components/Rendering/TriangleStripSet.md +45 -20
- package/docs/_posts/components/RigidBodyPhysics/BallJoint.md +24 -12
- package/docs/_posts/components/RigidBodyPhysics/CollidableOffset.md +40 -17
- package/docs/_posts/components/RigidBodyPhysics/CollidableShape.md +37 -19
- package/docs/_posts/components/RigidBodyPhysics/CollisionCollection.md +24 -19
- package/docs/_posts/components/RigidBodyPhysics/CollisionSensor.md +21 -12
- package/docs/_posts/components/RigidBodyPhysics/CollisionSpace.md +36 -17
- package/docs/_posts/components/RigidBodyPhysics/Contact.md +20 -16
- package/docs/_posts/components/RigidBodyPhysics/DoubleAxisHingeJoint.md +43 -41
- package/docs/_posts/components/RigidBodyPhysics/MotorJoint.md +86 -34
- package/docs/_posts/components/RigidBodyPhysics/RigidBody.md +36 -26
- package/docs/_posts/components/RigidBodyPhysics/RigidBodyCollection.md +36 -20
- package/docs/_posts/components/RigidBodyPhysics/SingleAxisHingeJoint.md +33 -23
- package/docs/_posts/components/RigidBodyPhysics/SliderJoint.md +31 -19
- package/docs/_posts/components/RigidBodyPhysics/UniversalJoint.md +31 -23
- package/docs/_posts/components/Scripting/Script.md +43 -27
- package/docs/_posts/components/Shaders/ComposedShader.md +30 -17
- package/docs/_posts/components/Shaders/FloatVertexAttribute.md +18 -9
- package/docs/_posts/components/Shaders/Matrix3VertexAttribute.md +17 -8
- package/docs/_posts/components/Shaders/Matrix4VertexAttribute.md +17 -8
- package/docs/_posts/components/Shaders/PackagedShader.md +52 -46
- package/docs/_posts/components/Shaders/ProgramShader.md +35 -15
- package/docs/_posts/components/Shaders/ShaderPart.md +27 -18
- package/docs/_posts/components/Shaders/ShaderProgram.md +28 -17
- package/docs/_posts/components/Shape/AcousticProperties.md +38 -10
- package/docs/_posts/components/Shape/Appearance.md +30 -23
- package/docs/_posts/components/Shape/FillProperties.md +19 -12
- package/docs/_posts/components/Shape/LineProperties.md +18 -10
- package/docs/_posts/components/Shape/Material.md +64 -38
- package/docs/_posts/components/Shape/PhysicalMaterial.md +49 -25
- package/docs/_posts/components/Shape/PointProperties.md +23 -24
- package/docs/_posts/components/Shape/Shape.md +38 -20
- package/docs/_posts/components/Shape/TwoSidedMaterial.md +35 -36
- package/docs/_posts/components/Shape/UnlitMaterial.md +29 -17
- package/docs/_posts/components/Sound/Analyser.md +151 -18
- package/docs/_posts/components/Sound/AudioClip.md +82 -32
- package/docs/_posts/components/Sound/AudioDestination.md +85 -9
- package/docs/_posts/components/Sound/BiquadFilter.md +160 -17
- package/docs/_posts/components/Sound/BufferAudioSource.md +184 -28
- package/docs/_posts/components/Sound/ChannelMerger.md +70 -8
- package/docs/_posts/components/Sound/ChannelSelector.md +73 -9
- package/docs/_posts/components/Sound/ChannelSplitter.md +77 -9
- package/docs/_posts/components/Sound/Convolver.md +138 -14
- package/docs/_posts/components/Sound/Delay.md +134 -15
- package/docs/_posts/components/Sound/DynamicsCompressor.md +146 -19
- package/docs/_posts/components/Sound/Gain.md +128 -13
- package/docs/_posts/components/Sound/ListenerPointSource.md +121 -12
- package/docs/_posts/components/Sound/MicrophoneSource.md +101 -10
- package/docs/_posts/components/Sound/OscillatorSource.md +107 -12
- package/docs/_posts/components/Sound/PeriodicWave.md +48 -7
- package/docs/_posts/components/Sound/Sound.md +61 -22
- package/docs/_posts/components/Sound/SpatialSound.md +136 -17
- package/docs/_posts/components/Sound/StreamAudioDestination.md +89 -9
- package/docs/_posts/components/Sound/StreamAudioSource.md +101 -10
- package/docs/_posts/components/Sound/WaveShaper.md +138 -15
- package/docs/_posts/components/Text/FontStyle.md +75 -49
- package/docs/_posts/components/Text/Text.md +48 -26
- package/docs/_posts/components/TextureProjector/TextureProjector.md +63 -12
- package/docs/_posts/components/TextureProjector/TextureProjectorParallel.md +64 -12
- package/docs/_posts/components/Texturing/ImageTexture.md +28 -20
- package/docs/_posts/components/Texturing/MovieTexture.md +87 -40
- package/docs/_posts/components/Texturing/MultiTexture.md +47 -19
- package/docs/_posts/components/Texturing/MultiTextureCoordinate.md +27 -10
- package/docs/_posts/components/Texturing/MultiTextureTransform.md +32 -10
- package/docs/_posts/components/Texturing/PixelTexture.md +34 -14
- package/docs/_posts/components/Texturing/TextureCoordinate.md +20 -10
- package/docs/_posts/components/Texturing/TextureCoordinateGenerator.md +22 -12
- package/docs/_posts/components/Texturing/TextureProperties.md +45 -20
- package/docs/_posts/components/Texturing/TextureTransform.md +17 -8
- package/docs/_posts/components/Texturing3D/ComposedTexture3D.md +21 -13
- package/docs/_posts/components/Texturing3D/ImageTexture3D.md +32 -23
- package/docs/_posts/components/Texturing3D/ImageTextureAtlas.md +22 -16
- package/docs/_posts/components/Texturing3D/PixelTexture3D.md +28 -16
- package/docs/_posts/components/Texturing3D/TextureCoordinate3D.md +22 -10
- package/docs/_posts/components/Texturing3D/TextureCoordinate4D.md +21 -9
- package/docs/_posts/components/Texturing3D/TextureTransform3D.md +17 -8
- package/docs/_posts/components/Texturing3D/TextureTransformMatrix3D.md +20 -10
- package/docs/_posts/components/Time/TimeSensor.md +70 -27
- package/docs/_posts/components/VolumeRendering/BlendedVolumeStyle.md +41 -20
- package/docs/_posts/components/VolumeRendering/BoundaryEnhancementVolumeStyle.md +20 -10
- package/docs/_posts/components/VolumeRendering/CartoonVolumeStyle.md +24 -21
- package/docs/_posts/components/VolumeRendering/ComposedVolumeStyle.md +18 -10
- package/docs/_posts/components/VolumeRendering/EdgeEnhancementVolumeStyle.md +22 -14
- package/docs/_posts/components/VolumeRendering/IsoSurfaceVolumeData.md +59 -37
- package/docs/_posts/components/VolumeRendering/OpacityMapVolumeStyle.md +16 -8
- package/docs/_posts/components/VolumeRendering/ProjectionVolumeStyle.md +28 -6
- package/docs/_posts/components/VolumeRendering/SegmentedVolumeData.md +63 -30
- package/docs/_posts/components/VolumeRendering/ShadedVolumeStyle.md +27 -19
- package/docs/_posts/components/VolumeRendering/SilhouetteEnhancementVolumeStyle.md +21 -13
- package/docs/_posts/components/VolumeRendering/ToneMappedVolumeStyle.md +25 -16
- package/docs/_posts/components/VolumeRendering/VolumeData.md +43 -26
- package/docs/_posts/components/X_ITE/BlendMode.md +16 -9
- package/docs/_posts/getting-started.md +1 -0
- package/docs/_posts/laboratory/x3d-file-converter.md +1 -1
- package/docs/_tabs/playground.html +3 -1
- package/docs/assets/css/style.scss +4 -4
- package/package.json +1 -1
- package/src/x_ite/Base/X3DBaseNode.js +1 -1
- package/src/x_ite/Base/X3DInfoArray.js +2 -2
- package/src/x_ite/Browser/Core/X3DCoreContext.js +10 -3
- package/src/x_ite/Browser/DOMIntegration.js +13 -8
- package/src/x_ite/Browser/VERSION.js +1 -1
- package/src/x_ite/Components/Annotation/GroupAnnotation.js +1 -1
- package/src/x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture.js +3 -3
- package/src/x_ite/Components/DIS/DISEntityManager.js +1 -1
- package/src/x_ite/Components/Geospatial/GeoLocation.js +1 -1
- package/src/x_ite/Components/Geospatial/GeoViewpoint.js +18 -6
- package/src/x_ite/Components/Grouping/Switch.js +1 -1
- package/src/x_ite/Components/HAnim/HAnimMotion.js +1 -1
- package/src/x_ite/Components/Layering/X3DLayerNode.js +1 -1
- package/src/x_ite/Components/Lighting/DirectionalLight.js +1 -1
- package/src/x_ite/Components/NURBS/NurbsPatchSurface.js +1 -1
- package/src/x_ite/Components/NURBS/NurbsTrimmedSurface.js +1 -1
- package/src/x_ite/Components/Navigation/Collision.js +1 -1
- package/src/x_ite/Components/Navigation/LOD.js +1 -1
- package/src/x_ite/Components/Navigation/Viewpoint.js +1 -1
- package/src/x_ite/Components/Navigation/X3DViewpointNode.js +1 -1
- package/src/x_ite/Components/Networking/LoadSensor.js +1 -1
- package/src/x_ite/Components/ParticleSystems/ConeEmitter.js +9 -9
- package/src/x_ite/Components/ParticleSystems/ExplosionEmitter.js +7 -7
- package/src/x_ite/Components/ParticleSystems/ParticleSystem.js +1 -1
- package/src/x_ite/Components/ParticleSystems/PointEmitter.js +8 -8
- package/src/x_ite/Components/ParticleSystems/PolylineEmitter.js +9 -9
- package/src/x_ite/Components/ParticleSystems/SurfaceEmitter.js +7 -7
- package/src/x_ite/Components/ParticleSystems/VolumeEmitter.js +12 -10
- package/src/x_ite/Components/RigidBodyPhysics/Contact.js +1 -1
- package/src/x_ite/Components/RigidBodyPhysics/MotorJoint.js +6 -6
- package/src/x_ite/Components/RigidBodyPhysics/SingleAxisHingeJoint.js +0 -1
- package/src/x_ite/Components/RigidBodyPhysics/UniversalJoint.js +4 -4
- package/src/x_ite/Components/Shape/AcousticProperties.js +1 -1
- package/src/x_ite/Components/Shape/Appearance.js +1 -1
- package/src/x_ite/Components/Shape/FillProperties.js +1 -1
- package/src/x_ite/Components/Shape/Material.js +1 -1
- package/src/x_ite/Components/Shape/PhysicalMaterial.js +1 -1
- package/src/x_ite/Components/Shape/TwoSidedMaterial.js +1 -1
- package/src/x_ite/Components/Sound/Analyser.js +2 -2
- package/src/x_ite/Components/Sound/AudioDestination.js +2 -2
- package/src/x_ite/Components/Sound/BiquadFilter.js +3 -3
- package/src/x_ite/Components/Sound/BufferAudioSource.js +2 -2
- package/src/x_ite/Components/Sound/ChannelMerger.js +2 -2
- package/src/x_ite/Components/Sound/ChannelSelector.js +2 -2
- package/src/x_ite/Components/Sound/ChannelSplitter.js +2 -2
- package/src/x_ite/Components/Sound/Convolver.js +2 -2
- package/src/x_ite/Components/Sound/Delay.js +2 -2
- package/src/x_ite/Components/Sound/DynamicsCompressor.js +2 -2
- package/src/x_ite/Components/Sound/Gain.js +2 -2
- package/src/x_ite/Components/Sound/PeriodicWave.js +1 -1
- package/src/x_ite/Components/Sound/StreamAudioDestination.js +2 -2
- package/src/x_ite/Components/Sound/WaveShaper.js +3 -3
- package/src/x_ite/Components/TextureProjector/TextureProjector.js +4 -4
- package/src/x_ite/Components/TextureProjector/TextureProjectorParallel.js +5 -5
- package/src/x_ite/Components/Texturing/PixelTexture.js +1 -1
- package/src/x_ite/Components/Texturing/TextureProperties.js +1 -1
- package/src/x_ite/Components/VolumeRendering/IsoSurfaceVolumeData.js +1 -1
- package/src/x_ite/Components/VolumeRendering/SegmentedVolumeData.js +1 -1
- package/src/x_ite/Components/VolumeRendering/VolumeData.js +1 -1
- package/src/x_ite/Configuration/SupportedComponents.js +2 -2
- package/src/x_ite/Fields/ArrayFields.js +2 -2
- package/src/x_ite/Fields/SFColor.js +1 -1
- package/src/x_ite/Fields/SFMatrixPrototypeTemplate.js +1 -1
- package/src/x_ite/Fields/SFRotation.js +3 -3
- package/src/x_ite/Fields/SFVecPrototypeTemplate.js +1 -1
- package/src/x_ite/Parser/GoldenGate.js +16 -5
- package/src/x_ite/Parser/PLYAParser.js +615 -0
- package/src/x_ite/Parser/PLYBParser.js +222 -0
- package/src/x_ite/Parser/STLAParser.js +0 -1
- /package/build/{bin → docs}/components.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Contact
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-RigidBodyPhysics
|
|
5
5
|
categories: [components, RigidBodyPhysics]
|
|
6
6
|
tags: [Contact, RigidBodyPhysics]
|
|
@@ -15,7 +15,7 @@ tags: [Contact, RigidBodyPhysics]
|
|
|
15
15
|
|
|
16
16
|
Contact nodes are produced as output events when two collidable objects or spaces make contact.
|
|
17
17
|
|
|
18
|
-
The Contact node belongs to the **RigidBodyPhysics** component and its default container field is *children.* It is available
|
|
18
|
+
The Contact node belongs to the **RigidBodyPhysics** component and its default container field is *children.* It is available from X3D version 3.2 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -28,7 +28,11 @@ The Contact node belongs to the **RigidBodyPhysics** component and its default c
|
|
|
28
28
|
|
|
29
29
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
32
|
+
|
|
33
|
+
#### Hint
|
|
34
|
+
|
|
35
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
32
36
|
|
|
33
37
|
### SFVec3f [in, out] **position** 0 0 0 <small>(-∞,∞)</small>
|
|
34
38
|
|
|
@@ -44,17 +48,17 @@ Metadata are not part of the X3D world and not interpreted by the X3D browser, b
|
|
|
44
48
|
|
|
45
49
|
### MFString [in, out] **appliedParameters** "BOUNCE"
|
|
46
50
|
|
|
47
|
-
Default global parameters for collision outputs of rigid body physics system. Contact node can override parent CollisionCollection node. Selectable values for array: "BOUNCE" "USER_FRICTION" "
|
|
51
|
+
Default global parameters for collision outputs of rigid body physics system. Contact node can override parent CollisionCollection node. Selectable values for array: "BOUNCE" "USER_FRICTION" "FRICTION_COEFFICIENT_2" "ERROR_REDUCTION" "CONSTANT_FORCE" "SPEED_1" "SPEED_2" "SLIP_1" "SLIP_2".
|
|
48
52
|
|
|
49
53
|
#### Hint
|
|
50
54
|
|
|
51
|
-
- BOUNCE: bounce value is used; USER_FRICTION: apply user-supplied value;
|
|
55
|
+
- BOUNCE: bounce value is used; USER_FRICTION: apply user-supplied value; FRICTION_COEFFICIENT_2: apply frictionCoefficients values; ERROR_REDUCTION: apply softnessErrorCorrection value; CONSTANT_FORCE: apply softnessConstantForceMix value; SPEED_1: apply first component of surfaceSpeed array; SPEED_2: apply second component of surfaceSpeed array; SLIP_1: apply first component of slipFactors array; SLIP_2: apply second component of slipFactors array.
|
|
52
56
|
|
|
53
57
|
### SFFloat [in, out] **bounce** 0 <small>[0,1]</small>
|
|
54
58
|
|
|
55
|
-
*bounce* indicates bounciness (0 = no bounce at all, 1 = maximum bounce).
|
|
59
|
+
*bounce* indicates bounciness (0 = no *bounce* at all, 1 = maximum *bounce*).
|
|
56
60
|
|
|
57
|
-
### SFFloat [in, out] **minBounceSpeed**
|
|
61
|
+
### SFFloat [in, out] **minBounceSpeed** <small>[0,∞)</small>
|
|
58
62
|
|
|
59
63
|
*minBounceSpeed* m/s needed to bounce.
|
|
60
64
|
|
|
@@ -88,30 +92,30 @@ Default global parameters for collision outputs of rigid body physics system. Co
|
|
|
88
92
|
|
|
89
93
|
### SFNode [in, out] **geometry1** NULL <small>[X3DNBodyCollidableNode]</small>
|
|
90
94
|
|
|
91
|
-
|
|
95
|
+
The *geometry1* and geometry2 fields specify collision-related information about body1 and body2.
|
|
92
96
|
|
|
93
97
|
### SFNode [in, out] **geometry2** NULL <small>[X3DNBodyCollidableNode]</small>
|
|
94
98
|
|
|
95
|
-
|
|
99
|
+
The geometry1 and *geometry2* fields specify collision-related information about body1 and body2.
|
|
96
100
|
|
|
97
101
|
### SFNode [in, out] **body1** NULL <small>[RigidBody]</small>
|
|
98
102
|
|
|
99
|
-
|
|
103
|
+
The *body1* and body2 fields specify two top-level nodes that should be evaluated in the physics model as a single set of interactions with respect to each other.
|
|
100
104
|
|
|
101
105
|
### SFNode [in, out] **body2** NULL <small>[RigidBody]</small>
|
|
102
106
|
|
|
103
|
-
|
|
107
|
+
The body1 and *body2* fields specify two top-level nodes that should be evaluated in the physics model as a single set of interactions with respect to each other.
|
|
104
108
|
|
|
105
|
-
##
|
|
109
|
+
## Advisories
|
|
106
110
|
|
|
107
111
|
### Hint
|
|
108
112
|
|
|
109
|
-
- Each Contact node contains two RigidBody (containerField='body1
|
|
113
|
+
- Each Contact node contains two RigidBody nodes (`containerField='body1'` and `containerField='body2')` as well as two CollidableShape or CollidableOffset nodes (`containerField='geometry1'` and `containerField='geometry2').`
|
|
110
114
|
|
|
111
115
|
### Warning
|
|
112
116
|
|
|
113
|
-
- Contact nodes are transient and can only occur at run time
|
|
117
|
+
- Contact nodes are transient and can only occur at run time. It is an error to define this transient node in an X3D file.
|
|
114
118
|
|
|
115
|
-
##
|
|
119
|
+
## See Also
|
|
116
120
|
|
|
117
|
-
- [X3D Specification of Contact](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#Contact){:target="_blank"}
|
|
121
|
+
- [X3D Specification of Contact node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#Contact){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: DoubleAxisHingeJoint
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-RigidBodyPhysics
|
|
5
5
|
categories: [components, RigidBodyPhysics]
|
|
6
6
|
tags: [DoubleAxisHingeJoint, RigidBodyPhysics]
|
|
@@ -15,7 +15,7 @@ tags: [DoubleAxisHingeJoint, RigidBodyPhysics]
|
|
|
15
15
|
|
|
16
16
|
DoubleAxisHingeJoint has two independent axes located around a common anchor point. axis1 has limits and a motor, axis 2 only has a motor Contains two RigidBody nodes (containerField values body1, body2).
|
|
17
17
|
|
|
18
|
-
The DoubleAxisHingeJoint node belongs to the **RigidBodyPhysics** component and its default container field is *joints.* It is available
|
|
18
|
+
The DoubleAxisHingeJoint node belongs to the **RigidBodyPhysics** component and its default container field is *joints.* It is available from X3D version 3.2 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -29,71 +29,71 @@ The DoubleAxisHingeJoint node belongs to the **RigidBodyPhysics** component and
|
|
|
29
29
|
|
|
30
30
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
#### Hint
|
|
35
|
+
|
|
36
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
37
|
+
|
|
38
|
+
### MFString [in, out] **forceOutput** "NONE" <small>["ALL", "NONE", ...]</small>
|
|
35
39
|
|
|
36
40
|
*forceOutput* controls which output fields are generated for the next frame. Values are ALL, NONE, or exact names of output fields updated at start of next frame.
|
|
37
41
|
|
|
38
|
-
### SFVec3f [in, out] **anchorPoint** 0 0 0
|
|
42
|
+
### SFVec3f [in, out] **anchorPoint** 0 0 0 <small>(-∞,∞)</small>
|
|
39
43
|
|
|
40
44
|
*anchorPoint* is joint center, specified in world coordinates.
|
|
41
45
|
|
|
42
|
-
### SFVec3f [in, out] **axis1** 0 0 0
|
|
46
|
+
### SFVec3f [in, out] **axis1** 0 0 0 <small>(-∞,∞)</small>
|
|
43
47
|
|
|
44
48
|
*axis1* defines axis vector of joint connection to body1.
|
|
45
49
|
|
|
46
50
|
#### Hint
|
|
47
51
|
|
|
48
|
-
- 0 0 0 means motor disabled.
|
|
52
|
+
- 0 0 0 means motor disabled about this axis.
|
|
49
53
|
|
|
50
|
-
### SFVec3f [in, out] **axis2** 0 0 0
|
|
54
|
+
### SFVec3f [in, out] **axis2** 0 0 0 <small>(-∞,∞)</small>
|
|
51
55
|
|
|
52
56
|
*axis2* defines axis vector of joint connection to body2.
|
|
53
57
|
|
|
54
58
|
#### Hint
|
|
55
59
|
|
|
56
|
-
- 0 0 0 means motor disabled.
|
|
60
|
+
- 0 0 0 means motor disabled about this axis.
|
|
57
61
|
|
|
58
|
-
### SFFloat [in, out] **minAngle1** -π <small>π [-π,π] <
|
|
59
|
-
</small>
|
|
62
|
+
### SFFloat [in, out] **minAngle1** -π <small>π [-π,π]</small> <small class="red">not supported</small>
|
|
60
63
|
|
|
61
|
-
|
|
64
|
+
*minAngle1* is minimum rotation angle for hinge.
|
|
62
65
|
|
|
63
|
-
### SFFloat [in, out] **maxAngle1** π <small>[-π,π] <
|
|
64
|
-
</small>
|
|
66
|
+
### SFFloat [in, out] **maxAngle1** π <small>[-π,π]</small> <small class="red">not supported</small>
|
|
65
67
|
|
|
66
|
-
|
|
68
|
+
*maxAngle1* is maximum rotation angle for hinge.
|
|
67
69
|
|
|
68
|
-
### SFFloat [in, out] **desiredAngularVelocity1** 0 <small>(-∞,∞) <
|
|
69
|
-
</small>
|
|
70
|
+
### SFFloat [in, out] **desiredAngularVelocity1** 0 <small>(-∞,∞)</small> <small class="red">not supported</small>
|
|
70
71
|
|
|
71
|
-
|
|
72
|
+
*desiredAngularVelocity1* is goal rotation rate for hinge connection to body1.
|
|
72
73
|
|
|
73
|
-
### SFFloat [in, out] **desiredAngularVelocity2** 0 <small>(-∞,∞) <
|
|
74
|
-
</small>
|
|
74
|
+
### SFFloat [in, out] **desiredAngularVelocity2** 0 <small>(-∞,∞)</small> <small class="red">not supported</small>
|
|
75
75
|
|
|
76
|
-
|
|
76
|
+
*desiredAngularVelocity2* is goal rotation rate for hinge connection to body2.
|
|
77
77
|
|
|
78
|
-
### SFFloat [in, out] **maxTorque1** 0 <small>(-∞,∞) <
|
|
78
|
+
### SFFloat [in, out] **maxTorque1** 0 <small>(-∞,∞)</small> <small class="red">not supported</small>
|
|
79
79
|
|
|
80
80
|
*maxTorque1* is maximum rotational torque applied by corresponding motor axis to achieve desiredAngularVelocity1.
|
|
81
81
|
|
|
82
|
-
### SFFloat [in, out] **maxTorque2** 0 <small>(-∞,∞) <
|
|
82
|
+
### SFFloat [in, out] **maxTorque2** 0 <small>(-∞,∞)</small> <small class="red">not supported</small>
|
|
83
83
|
|
|
84
84
|
*maxTorque2* is maximum rotational torque applied by corresponding motor axis to achieve desiredAngularVelocity2.
|
|
85
85
|
|
|
86
86
|
### SFFloat [in, out] **stopBounce1** 0 <small>[0,1]<span class="red"> not supported</span></small>
|
|
87
87
|
|
|
88
|
-
Input/Output field stopBounce1
|
|
88
|
+
Input/Output field *stopBounce1*.
|
|
89
89
|
|
|
90
90
|
### SFFloat [in, out] **stopConstantForceMix1** 0.001 <small>[0,∞)<span class="red"> not supported</span></small>
|
|
91
91
|
|
|
92
|
-
Input/Output field stopConstantForceMix1
|
|
92
|
+
Input/Output field *stopConstantForceMix1*.
|
|
93
93
|
|
|
94
94
|
### SFFloat [in, out] **stopErrorCorrection1** 0.8 <small>[0,1]<span class="red"> not supported</span></small>
|
|
95
95
|
|
|
96
|
-
Input/Output field stopErrorCorrection1
|
|
96
|
+
Input/Output field *stopErrorCorrection1*.
|
|
97
97
|
|
|
98
98
|
### SFFloat [in, out] **suspensionForce** 0 <small>[0,∞)<span class="red"> not supported</span></small>
|
|
99
99
|
|
|
@@ -101,7 +101,8 @@ Input/Output field stopErrorCorrection1.
|
|
|
101
101
|
|
|
102
102
|
#### Hints
|
|
103
103
|
|
|
104
|
-
- Use with stop1ConstantForceMix to improve softness and numerical stability.
|
|
104
|
+
- Use with stop1ConstantForceMix to improve softness and numerical stability.
|
|
105
|
+
- 0 means no stop adjustment, 1 means springier stop response.
|
|
105
106
|
|
|
106
107
|
### SFFloat [in, out] **suspensionErrorCorrection** 0.8 <small>[0,1]<span class="red"> not supported</span></small>
|
|
107
108
|
|
|
@@ -109,54 +110,55 @@ Input/Output field stopErrorCorrection1.
|
|
|
109
110
|
|
|
110
111
|
#### Hints
|
|
111
112
|
|
|
112
|
-
- Use with stop1ConstantForceMix to improve softness and numerical stability.
|
|
113
|
+
- Use with stop1ConstantForceMix to improve softness and numerical stability.
|
|
114
|
+
- 0 means no stop adjustment, 1 means springier stop response.
|
|
113
115
|
|
|
114
116
|
### SFVec3f [out] **body1AnchorPoint**
|
|
115
117
|
|
|
116
|
-
Output field body1AnchorPoint
|
|
118
|
+
Output field *body1AnchorPoint*.
|
|
117
119
|
|
|
118
120
|
### SFVec3f [out] **body2AnchorPoint**
|
|
119
121
|
|
|
120
|
-
Output field body2AnchorPoint
|
|
122
|
+
Output field *body2AnchorPoint*.
|
|
121
123
|
|
|
122
124
|
### SFVec3f [out] **body1Axis**
|
|
123
125
|
|
|
124
|
-
Output field body1Axis
|
|
126
|
+
Output field *body1Axis*.
|
|
125
127
|
|
|
126
128
|
### SFVec3f [out] **body2Axis**
|
|
127
129
|
|
|
128
|
-
Output field body2Axis
|
|
130
|
+
Output field *body2Axis*.
|
|
129
131
|
|
|
130
132
|
### SFFloat [out] **hinge1Angle**
|
|
131
133
|
|
|
132
|
-
Output field hinge1Angle
|
|
134
|
+
Output field *hinge1Angle*.
|
|
133
135
|
|
|
134
136
|
### SFFloat [out] **hinge2Angle**
|
|
135
137
|
|
|
136
|
-
Output field hinge2Angle
|
|
138
|
+
Output field *hinge2Angle*.
|
|
137
139
|
|
|
138
140
|
### SFFloat [out] **hinge1AngleRate**
|
|
139
141
|
|
|
140
|
-
Output field hinge1AngleRate
|
|
142
|
+
Output field *hinge1AngleRate*.
|
|
141
143
|
|
|
142
144
|
### SFFloat [out] **hinge2AngleRate**
|
|
143
145
|
|
|
144
|
-
Output field hinge2AngleRate
|
|
146
|
+
Output field *hinge2AngleRate*.
|
|
145
147
|
|
|
146
148
|
### SFNode [in, out] **body1** NULL <small>[RigidBody]</small>
|
|
147
149
|
|
|
148
|
-
|
|
150
|
+
The *body1* and body2 fields indicate the two RigidBody nodes connected by this joint.
|
|
149
151
|
|
|
150
152
|
### SFNode [in, out] **body2** NULL <small>[RigidBody]</small>
|
|
151
153
|
|
|
152
|
-
|
|
154
|
+
The body1 and *body2* fields indicate the two RigidBody nodes connected by this joint.
|
|
153
155
|
|
|
154
|
-
##
|
|
156
|
+
## Advisories
|
|
155
157
|
|
|
156
158
|
### Hint
|
|
157
159
|
|
|
158
160
|
- RigidBodyPhysics component, level 2.
|
|
159
161
|
|
|
160
|
-
##
|
|
162
|
+
## See Also
|
|
161
163
|
|
|
162
|
-
- [X3D Specification of DoubleAxisHingeJoint](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#DoubleAxisHingeJoint){:target="_blank"}
|
|
164
|
+
- [X3D Specification of DoubleAxisHingeJoint node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#DoubleAxisHingeJoint){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: MotorJoint
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-RigidBodyPhysics
|
|
5
5
|
categories: [components, RigidBodyPhysics]
|
|
6
6
|
tags: [MotorJoint, RigidBodyPhysics]
|
|
@@ -15,7 +15,7 @@ tags: [MotorJoint, RigidBodyPhysics]
|
|
|
15
15
|
|
|
16
16
|
MotorJoint drives relative angular velocities between body1 and body2 within a common reference frame. Contains two RigidBody nodes (containerField values body1, body2).
|
|
17
17
|
|
|
18
|
-
The MotorJoint node belongs to the **RigidBodyPhysics** component and its default container field is *joints.* It is available
|
|
18
|
+
The MotorJoint node belongs to the **RigidBodyPhysics** component and its default container field is *joints.* It is available from X3D version 3.2 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -29,52 +29,44 @@ The MotorJoint node belongs to the **RigidBodyPhysics** component and its defaul
|
|
|
29
29
|
|
|
30
30
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
### MFString [in, out] **forceOutput** "NONE" <small>["ALL","NONE",...]</small>
|
|
35
|
-
|
|
36
|
-
*forceOutput* controls which output fields are generated for the next frame. Values are ALL, NONE, or exact names of output fields updated at start of next frame.
|
|
37
|
-
|
|
38
|
-
### SFInt32 [in, out] **enabledAxes** 1 <small>[0,3]</small>
|
|
39
|
-
|
|
40
|
-
*enabledAxes* indicates which motor axes are active. (0) none, (1) axis 1, (2) axes 1 and 2, (3) all three axes.
|
|
41
|
-
|
|
42
|
-
### SFVec3f [in, out] **motor1Axis** 0 0 0
|
|
43
|
-
|
|
44
|
-
*motor1Axis* defines axis vector of corresponding motor axis.
|
|
32
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
45
33
|
|
|
46
34
|
#### Hint
|
|
47
35
|
|
|
48
|
-
-
|
|
36
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
49
37
|
|
|
50
|
-
###
|
|
38
|
+
### SFBool [ ] **autoCalc** FALSE
|
|
51
39
|
|
|
52
|
-
*
|
|
40
|
+
*autoCalc* controls whether user manually provides individual angle rotations each frame (false) or if angle values are automatically calculated by motor implementations (true).
|
|
53
41
|
|
|
54
|
-
|
|
42
|
+
### MFString [in, out] **forceOutput** "NONE" <small>["ALL", "NONE", ...]</small>
|
|
55
43
|
|
|
56
|
-
|
|
44
|
+
*forceOutput* controls which output fields are generated for the next frame. Values are ALL, NONE, or exact names of output fields updated at start of next frame.
|
|
57
45
|
|
|
58
|
-
###
|
|
46
|
+
### SFFloat [in, out] **axis1Angle** 0 <small>[-π,π]</small>
|
|
59
47
|
|
|
60
|
-
*
|
|
48
|
+
*axis1Angle* (radians) is rotation angle for corresponding motor axis when in user-calculated mode.
|
|
61
49
|
|
|
62
50
|
#### Hint
|
|
63
51
|
|
|
64
|
-
-
|
|
65
|
-
|
|
66
|
-
### SFFloat [in, out] **axis1Angle** 0 <small>[-π,π]</small>
|
|
67
|
-
|
|
68
|
-
*axis1Angle* (radians) is rotation angle for corresponding motor axis when in user-calculated mode.
|
|
52
|
+
- [Radian units for angular measure](https://en.wikipedia.org/wiki/Radian){:target="_blank"}
|
|
69
53
|
|
|
70
54
|
### SFFloat [in, out] **axis2Angle** 0 <small>[-π,π]</small>
|
|
71
55
|
|
|
72
56
|
*axis2Angle* (radians) is rotation angle for corresponding motor axis when in user-calculated mode.
|
|
73
57
|
|
|
58
|
+
#### Hint
|
|
59
|
+
|
|
60
|
+
- [Radian units for angular measure](https://en.wikipedia.org/wiki/Radian){:target="_blank"}
|
|
61
|
+
|
|
74
62
|
### SFFloat [in, out] **axis3Angle** 0 <small>[-π,π]</small>
|
|
75
63
|
|
|
76
64
|
*axis3Angle* (radians) is rotation angle for corresponding motor axis when in user-calculated mode.
|
|
77
65
|
|
|
66
|
+
#### Hint
|
|
67
|
+
|
|
68
|
+
- [Radian units for angular measure](https://en.wikipedia.org/wiki/Radian){:target="_blank"}
|
|
69
|
+
|
|
78
70
|
### SFFloat [in, out] **axis1Torque** 0 <small>(-∞,∞)</small>
|
|
79
71
|
|
|
80
72
|
*axis1Torque* is rotational torque applied by corresponding motor axis when in user-calculated mode.
|
|
@@ -87,6 +79,34 @@ Metadata are not part of the X3D world and not interpreted by the X3D browser, b
|
|
|
87
79
|
|
|
88
80
|
*axis3Torque* is rotational torque applied by corresponding motor axis when in user-calculated mode.
|
|
89
81
|
|
|
82
|
+
### SFInt32 [in, out] **enabledAxes** 1 <small>[0,3]</small>
|
|
83
|
+
|
|
84
|
+
*enabledAxes* indicates which motor axes are active. (0) none, (1) axis 1, (2) axes 1 and 2, (3) all three axes.
|
|
85
|
+
|
|
86
|
+
### SFVec3f [in, out] **motor1Axis** 0 0 0 <small>(-∞,∞)</small>
|
|
87
|
+
|
|
88
|
+
*motor1Axis* defines axis vector of corresponding motor axis.
|
|
89
|
+
|
|
90
|
+
#### Hint
|
|
91
|
+
|
|
92
|
+
- 0 0 0 means motor disabled about this axis.
|
|
93
|
+
|
|
94
|
+
### SFVec3f [in, out] **motor2Axis** 0 0 0 <small>(-∞,∞)</small>
|
|
95
|
+
|
|
96
|
+
*motor2Axis* defines axis vector of corresponding motor axis.
|
|
97
|
+
|
|
98
|
+
#### Hint
|
|
99
|
+
|
|
100
|
+
- 0 0 0 means motor disabled about this axis.
|
|
101
|
+
|
|
102
|
+
### SFVec3f [in, out] **motor3Axis** 0 0 0 <small>(-∞,∞)</small>
|
|
103
|
+
|
|
104
|
+
*motor3Axis* defines axis vector of corresponding motor axis.
|
|
105
|
+
|
|
106
|
+
#### Hint
|
|
107
|
+
|
|
108
|
+
- 0 0 0 means motor disabled about this axis.
|
|
109
|
+
|
|
90
110
|
### SFFloat [in, out] **stop1Bounce** 0 <small>[0,1]</small>
|
|
91
111
|
|
|
92
112
|
*stop1Bounce* is velocity factor for bounce back once stop point is reached.
|
|
@@ -139,45 +159,77 @@ Metadata are not part of the X3D world and not interpreted by the X3D browser, b
|
|
|
139
159
|
|
|
140
160
|
*motor1Angle* provides calculated angle of rotation (radians) for this motor joint from last frame.
|
|
141
161
|
|
|
162
|
+
#### Hint
|
|
163
|
+
|
|
164
|
+
- [Radian units for angular measure](https://en.wikipedia.org/wiki/Radian){:target="_blank"}
|
|
165
|
+
|
|
166
|
+
#### Warning
|
|
167
|
+
|
|
168
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
169
|
+
|
|
142
170
|
### SFFloat [out] **motor2Angle**
|
|
143
171
|
|
|
144
172
|
*motor2Angle* provides calculated angle of rotation (radians) for this motor joint from last frame.
|
|
145
173
|
|
|
174
|
+
#### Hint
|
|
175
|
+
|
|
176
|
+
- [Radian units for angular measure](https://en.wikipedia.org/wiki/Radian){:target="_blank"}
|
|
177
|
+
|
|
178
|
+
#### Warning
|
|
179
|
+
|
|
180
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
181
|
+
|
|
146
182
|
### SFFloat [out] **motor3Angle**
|
|
147
183
|
|
|
148
184
|
*motor3Angle* provides calculated angle of rotation (radians) for this motor joint from last frame.
|
|
149
185
|
|
|
186
|
+
#### Hint
|
|
187
|
+
|
|
188
|
+
- [Radian units for angular measure](https://en.wikipedia.org/wiki/Radian){:target="_blank"}
|
|
189
|
+
|
|
190
|
+
#### Warning
|
|
191
|
+
|
|
192
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
193
|
+
|
|
150
194
|
### SFFloat [out] **motor1AngleRate**
|
|
151
195
|
|
|
152
196
|
*motor1AngleRate* provides calculated anglular rotation rate (radians/second) for this motor joint from last frame.
|
|
153
197
|
|
|
198
|
+
#### Warning
|
|
199
|
+
|
|
200
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
201
|
+
|
|
154
202
|
### SFFloat [out] **motor2AngleRate**
|
|
155
203
|
|
|
156
204
|
*motor2AngleRate* provides calculated anglular rotation rate (radians/second) for this motor joint from last frame.
|
|
157
205
|
|
|
206
|
+
#### Warning
|
|
207
|
+
|
|
208
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
209
|
+
|
|
158
210
|
### SFFloat [out] **motor3AngleRate**
|
|
159
211
|
|
|
160
212
|
*motor3AngleRate* provides calculated anglular rotation rate (radians/second) for this motor joint from last frame.
|
|
161
213
|
|
|
162
|
-
|
|
214
|
+
#### Warning
|
|
163
215
|
|
|
164
|
-
|
|
216
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
165
217
|
|
|
166
218
|
### SFNode [in, out] **body1** NULL <small>[RigidBody]</small>
|
|
167
219
|
|
|
168
|
-
|
|
220
|
+
The *body1* and body2 fields indicate the two RigidBody nodes connected by this joint.
|
|
169
221
|
|
|
170
222
|
### SFNode [in, out] **body2** NULL <small>[RigidBody]</small>
|
|
171
223
|
|
|
172
|
-
|
|
224
|
+
The body1 and *body2* fields indicate the two RigidBody nodes connected by this joint.
|
|
173
225
|
|
|
174
|
-
##
|
|
226
|
+
## Advisories
|
|
175
227
|
|
|
176
228
|
### Hints
|
|
177
229
|
|
|
178
230
|
- Useful in combination with BallJoint.
|
|
179
231
|
- RigidBodyPhysics component, level 2.
|
|
180
232
|
|
|
181
|
-
##
|
|
233
|
+
## See Also
|
|
182
234
|
|
|
183
|
-
- [X3D Specification of MotorJoint](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#MotorJoint){:target="_blank"}
|
|
235
|
+
- [X3D Specification of MotorJoint node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#MotorJoint){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: RigidBody
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-RigidBodyPhysics
|
|
5
5
|
categories: [components, RigidBodyPhysics]
|
|
6
6
|
tags: [RigidBody, RigidBodyPhysics]
|
|
@@ -13,9 +13,9 @@ tags: [RigidBody, RigidBodyPhysics]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
RigidBody describes a collection of shapes with a mass distribution that is affected by the physics model. Contains a Sphere, Box, or Cone (containerField='massDensityModel') and multiple CollidableOffset or CollidableShape nodes (containerField='geometry') for animating collidable geometry.
|
|
16
|
+
RigidBody describes a collection of shapes with a mass distribution that is affected by the physics model. Contains a Sphere, Box, or Cone (`containerField='massDensityModel')` and multiple CollidableOffset or CollidableShape nodes (`containerField='geometry')` for animating collidable geometry.
|
|
17
17
|
|
|
18
|
-
The RigidBody node belongs to the **RigidBodyPhysics** component and its default container field is *bodies.* It is available
|
|
18
|
+
The RigidBody node belongs to the **RigidBodyPhysics** component and its default container field is *bodies.* It is available from X3D version 3.2 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -26,9 +26,13 @@ The RigidBody node belongs to the **RigidBodyPhysics** component and its default
|
|
|
26
26
|
|
|
27
27
|
## Fields
|
|
28
28
|
|
|
29
|
-
### SFNode [in, out] **metadata** NULL
|
|
29
|
+
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
32
|
+
|
|
33
|
+
#### Hint
|
|
34
|
+
|
|
35
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
32
36
|
|
|
33
37
|
### SFBool [in, out] **enabled** TRUE
|
|
34
38
|
|
|
@@ -40,17 +44,17 @@ Enables/disables node operation.
|
|
|
40
44
|
|
|
41
45
|
#### Hint
|
|
42
46
|
|
|
43
|
-
-
|
|
47
|
+
- *fixed* is useful for indicating objects that do not move: walls, ground, etc.
|
|
44
48
|
|
|
45
|
-
### SFVec3f [in, out] **position** 0 0 0
|
|
49
|
+
### SFVec3f [in, out] **position** 0 0 0 <small>(-∞,∞)</small>
|
|
46
50
|
|
|
47
51
|
*position* sets body location in world space, then reports physics updates.
|
|
48
52
|
|
|
49
|
-
### SFRotation [in, out] **orientation** 0 0 1 0
|
|
53
|
+
### SFRotation [in, out] **orientation** 0 0 1 0 <small>[-1,1] or (-∞,∞)</small>
|
|
50
54
|
|
|
51
55
|
*orientation* sets body direction in world space, then reports physics updates.
|
|
52
56
|
|
|
53
|
-
### SFVec3f [in, out] **linearVelocity** 0 0 0
|
|
57
|
+
### SFVec3f [in, out] **linearVelocity** 0 0 0 <small>(-∞,∞)</small>
|
|
54
58
|
|
|
55
59
|
*linearVelocity* sets constant velocity value to object every frame, and reports updates by physics model.
|
|
56
60
|
|
|
@@ -78,7 +82,7 @@ Enables/disables node operation.
|
|
|
78
82
|
|
|
79
83
|
*useFiniteRotation* enables/disables higher-resolution, higher-cost computational method for calculating rotations.
|
|
80
84
|
|
|
81
|
-
### SFVec3f [in, out] **finiteRotationAxis** 0
|
|
85
|
+
### SFVec3f [in, out] **finiteRotationAxis** 0 1 0 <small>(-∞,∞)</small>
|
|
82
86
|
|
|
83
87
|
*finiteRotationAxis* specifies vector around which the object rotates.
|
|
84
88
|
|
|
@@ -86,7 +90,7 @@ Enables/disables node operation.
|
|
|
86
90
|
|
|
87
91
|
*autoDamp* enables/disables angularDampingFactor and linearDampingFactor.
|
|
88
92
|
|
|
89
|
-
### SFFloat [in, out] **linearDampingFactor** 0.001
|
|
93
|
+
### SFFloat [in, out] **linearDampingFactor** 0.001 <small>[0,1]</small>
|
|
90
94
|
|
|
91
95
|
*linearDampingFactor* automatically damps a portion of body motion over time.
|
|
92
96
|
|
|
@@ -94,29 +98,26 @@ Enables/disables node operation.
|
|
|
94
98
|
|
|
95
99
|
*angularDampingFactor* automatically damps a portion of body motion over time.
|
|
96
100
|
|
|
97
|
-
### SFFloat [in, out] **mass** 1
|
|
101
|
+
### SFFloat [in, out] **mass** 1 <small>(0,∞)</small>
|
|
98
102
|
|
|
99
103
|
*mass* of the body in kilograms.
|
|
100
104
|
|
|
101
|
-
####
|
|
102
|
-
|
|
103
|
-
- Mass must be greater than 0.
|
|
104
|
-
|
|
105
|
-
### SFMatrix3f [in, out] **inertia** 1 0 0 0 1 0 0 0 1 <small>1 0 0</small>
|
|
105
|
+
#### Hints
|
|
106
106
|
|
|
107
|
-
|
|
107
|
+
- [Kilogram](https://en.wikipedia.org/wiki/Kilogram){:target="_blank"}
|
|
108
|
+
- [X3D Architecture 4.3.6 Standard units and coordinate system](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/concepts.html#Standardunitscoordinates){:target="_blank"}
|
|
108
109
|
|
|
109
110
|
#### Warning
|
|
110
111
|
|
|
111
|
-
-
|
|
112
|
+
- *mass* must be greater than 0.
|
|
112
113
|
|
|
113
114
|
### SFVec3f [in, out] **centerOfMass** 0 0 0 <small>(-∞,∞)</small>
|
|
114
115
|
|
|
115
116
|
*centerOfMass* defines local center of mass for physics calculations.
|
|
116
117
|
|
|
117
|
-
### SFNode [in, out] **massDensityModel** NULL <small
|
|
118
|
+
### SFNode [in, out] **massDensityModel** NULL <small class="red">not supported</small>
|
|
118
119
|
|
|
119
|
-
|
|
120
|
+
The *massDensityModel* field is used to describe the geometry type and dimensions used to calculate the mass density in the physics model. It is not rendered, nor modified by the physics model.
|
|
120
121
|
|
|
121
122
|
### SFBool [in, out] **useGlobalGravity** TRUE
|
|
122
123
|
|
|
@@ -134,17 +135,26 @@ Input/Output field massDensityModel.
|
|
|
134
135
|
|
|
135
136
|
*torques* defines rotational force values applied to the object every frame.
|
|
136
137
|
|
|
138
|
+
### SFMatrix3f [in, out] **inertia** 1 0 0 0 1 0 0 0 1 <small>1 0 0</small>
|
|
139
|
+
|
|
140
|
+
*inertia* matrix defines a 3x2 *inertia* tensor matrix.
|
|
141
|
+
|
|
142
|
+
#### Warning
|
|
143
|
+
|
|
144
|
+
- Only the first 6 values are used.
|
|
145
|
+
|
|
137
146
|
### SFBool [in, out] **autoDisable** FALSE
|
|
138
147
|
|
|
139
148
|
*autoDisable* toggles operation of disableAngularSpeed, disableLinearSpeed, disableTime.
|
|
140
149
|
|
|
141
|
-
### SFFloat [in, out] **disableTime** 0 <small>[0,∞) <
|
|
150
|
+
### SFFloat [in, out] **disableTime** 0 <small>[0,∞)</small> <small class="red">not supported</small>
|
|
142
151
|
|
|
143
152
|
*disableTime* defines interval when body becomes at rest and not part of rigid body calculations, reducing numeric instabilities.
|
|
144
153
|
|
|
145
|
-
####
|
|
154
|
+
#### Hints
|
|
146
155
|
|
|
147
156
|
- Only activated if autoDisable='true'
|
|
157
|
+
- *disableTime* is an SFTime duration interval, not an absolute clock time.
|
|
148
158
|
|
|
149
159
|
### SFFloat [in, out] **disableLinearSpeed** 0 <small>[0,∞)</small>
|
|
150
160
|
|
|
@@ -164,12 +174,12 @@ Input/Output field massDensityModel.
|
|
|
164
174
|
|
|
165
175
|
### MFNode [in, out] **geometry** [ ] <small>[X3DNBodyCollidableNode]</small>
|
|
166
176
|
|
|
167
|
-
|
|
177
|
+
The *geometry* field is used to connect the body modelled by the physics engine implementation to the real *geometry* of the scene through the use of collidable nodes. This allows the *geometry* to be connected directly to the physics model as well as collision detection. Collidable nodes have their location set to the same location as the body instance in which they are located.
|
|
168
178
|
|
|
169
179
|
## Example
|
|
170
180
|
|
|
171
181
|
<x3d-canvas src="https://create3000.github.io/media/examples/RigidBodyPhysics/RigidBody/RigidBody.x3d" update="auto"></x3d-canvas>
|
|
172
182
|
|
|
173
|
-
##
|
|
183
|
+
## See Also
|
|
174
184
|
|
|
175
|
-
- [X3D Specification of RigidBody](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#RigidBody){:target="_blank"}
|
|
185
|
+
- [X3D Specification of RigidBody node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#RigidBody){:target="_blank"}
|