x_ite 8.8.7 → 8.9.1
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/README.md +3 -7
- package/build/docs/nodes.pl +434 -0
- package/dist/assets/components/Annotation.js +13 -13
- 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 +26 -26
- 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 +33 -33
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +129 -90
- 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 +24 -24
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +24 -24
- 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 +18 -18
- 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 +14 -14
- 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 +18 -18
- 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 +1320 -166
- 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 +45 -19
- package/docs/_posts/components/CADGeometry/CADFace.md +44 -18
- package/docs/_posts/components/CADGeometry/CADLayer.md +48 -19
- package/docs/_posts/components/CADGeometry/CADPart.md +54 -24
- 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 +29 -18
- 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 +30 -25
- 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 +40 -15
- package/docs/_posts/components/DIS/DISEntityTypeMapping.md +34 -25
- package/docs/_posts/components/DIS/EspduTransform.md +174 -41
- package/docs/_posts/components/DIS/ReceiverPdu.md +77 -27
- package/docs/_posts/components/DIS/SignalPdu.md +82 -28
- package/docs/_posts/components/DIS/TransmitterPdu.md +86 -36
- 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 +23 -10
- 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 +24 -9
- 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 +30 -22
- package/docs/_posts/components/Geometry3D/Cylinder.md +30 -26
- package/docs/_posts/components/Geometry3D/ElevationGrid.md +73 -29
- package/docs/_posts/components/Geometry3D/Extrusion.md +100 -48
- package/docs/_posts/components/Geometry3D/IndexedFaceSet.md +92 -38
- 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 +82 -37
- package/docs/_posts/components/Geospatial/GeoLOD.md +66 -27
- package/docs/_posts/components/Geospatial/GeoLocation.md +64 -26
- 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 +63 -18
- package/docs/_posts/components/Geospatial/GeoTransform.md +72 -28
- package/docs/_posts/components/Geospatial/GeoViewpoint.md +79 -40
- package/docs/_posts/components/Grouping/Group.md +32 -16
- package/docs/_posts/components/Grouping/StaticGroup.md +37 -16
- package/docs/_posts/components/Grouping/Switch.md +39 -20
- package/docs/_posts/components/Grouping/Transform.md +45 -28
- package/docs/_posts/components/HAnim/HAnimDisplacer.md +38 -27
- package/docs/_posts/components/HAnim/HAnimHumanoid.md +215 -56
- package/docs/_posts/components/HAnim/HAnimJoint.md +104 -38
- package/docs/_posts/components/HAnim/HAnimMotion.md +120 -10
- package/docs/_posts/components/HAnim/HAnimSegment.md +72 -32
- package/docs/_posts/components/HAnim/HAnimSite.md +75 -32
- 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 +27 -14
- package/docs/_posts/components/Layering/LayerSet.md +19 -13
- package/docs/_posts/components/Layering/Viewport.md +31 -15
- package/docs/_posts/components/Layout/Layout.md +27 -16
- package/docs/_posts/components/Layout/LayoutGroup.md +34 -18
- package/docs/_posts/components/Layout/LayoutLayer.md +28 -15
- package/docs/_posts/components/Layout/ScreenFontStyle.md +72 -45
- package/docs/_posts/components/Layout/ScreenGroup.md +32 -16
- package/docs/_posts/components/Lighting/DirectionalLight.md +19 -11
- package/docs/_posts/components/Lighting/EnvironmentLight.md +2 -6
- package/docs/_posts/components/Lighting/PointLight.md +23 -11
- package/docs/_posts/components/Lighting/SpotLight.md +32 -19
- 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 +15 -11
- package/docs/_posts/components/NURBS/NurbsCurve2D.md +14 -10
- package/docs/_posts/components/NURBS/NurbsOrientationInterpolator.md +28 -12
- package/docs/_posts/components/NURBS/NurbsPatchSurface.md +19 -13
- package/docs/_posts/components/NURBS/NurbsPositionInterpolator.md +27 -11
- package/docs/_posts/components/NURBS/NurbsSet.md +48 -14
- package/docs/_posts/components/NURBS/NurbsSurfaceInterpolator.md +31 -11
- 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 +11 -7
- package/docs/_posts/components/NURBS/NurbsTrimmedSurface.md +26 -16
- package/docs/_posts/components/Navigation/Billboard.md +33 -17
- package/docs/_posts/components/Navigation/Collision.md +59 -22
- package/docs/_posts/components/Navigation/LOD.md +53 -23
- package/docs/_posts/components/Navigation/NavigationInfo.md +68 -25
- package/docs/_posts/components/Navigation/OrthoViewpoint.md +80 -37
- package/docs/_posts/components/Navigation/Viewpoint.md +86 -39
- package/docs/_posts/components/Navigation/ViewpointGroup.md +28 -17
- package/docs/_posts/components/Networking/Anchor.md +54 -56
- package/docs/_posts/components/Networking/Inline.md +42 -29
- package/docs/_posts/components/Networking/LoadSensor.md +41 -9
- package/docs/_posts/components/ParticleSystems/BoundedPhysicsModel.md +16 -8
- package/docs/_posts/components/ParticleSystems/ConeEmitter.md +25 -10
- package/docs/_posts/components/ParticleSystems/ExplosionEmitter.md +18 -11
- package/docs/_posts/components/ParticleSystems/ForcePhysicsModel.md +15 -8
- package/docs/_posts/components/ParticleSystems/ParticleSystem.md +92 -46
- package/docs/_posts/components/ParticleSystems/PointEmitter.md +19 -12
- package/docs/_posts/components/ParticleSystems/PolylineEmitter.md +23 -15
- package/docs/_posts/components/ParticleSystems/SurfaceEmitter.md +21 -14
- package/docs/_posts/components/ParticleSystems/VolumeEmitter.md +25 -18
- package/docs/_posts/components/ParticleSystems/WindPhysicsModel.md +11 -7
- package/docs/_posts/components/Picking/LinePickSensor.md +37 -15
- package/docs/_posts/components/Picking/PickableGroup.md +40 -22
- package/docs/_posts/components/Picking/PointPickSensor.md +29 -12
- package/docs/_posts/components/Picking/PrimitivePickSensor.md +25 -17
- package/docs/_posts/components/Picking/VolumePickSensor.md +25 -12
- package/docs/_posts/components/PointingDeviceSensor/CylinderSensor.md +43 -18
- package/docs/_posts/components/PointingDeviceSensor/PlaneSensor.md +40 -17
- package/docs/_posts/components/PointingDeviceSensor/SphereSensor.md +35 -13
- package/docs/_posts/components/PointingDeviceSensor/TouchSensor.md +48 -14
- package/docs/_posts/components/Rendering/ClipPlane.md +20 -15
- 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 +58 -24
- 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 +22 -10
- package/docs/_posts/components/RigidBodyPhysics/CollidableOffset.md +37 -14
- package/docs/_posts/components/RigidBodyPhysics/CollidableShape.md +34 -16
- package/docs/_posts/components/RigidBodyPhysics/CollisionCollection.md +17 -12
- package/docs/_posts/components/RigidBodyPhysics/CollisionSensor.md +21 -12
- package/docs/_posts/components/RigidBodyPhysics/CollisionSpace.md +31 -12
- package/docs/_posts/components/RigidBodyPhysics/Contact.md +19 -15
- package/docs/_posts/components/RigidBodyPhysics/DoubleAxisHingeJoint.md +33 -27
- package/docs/_posts/components/RigidBodyPhysics/MotorJoint.md +63 -11
- package/docs/_posts/components/RigidBodyPhysics/RigidBody.md +22 -12
- package/docs/_posts/components/RigidBodyPhysics/RigidBodyCollection.md +30 -14
- package/docs/_posts/components/RigidBodyPhysics/SingleAxisHingeJoint.md +26 -14
- package/docs/_posts/components/RigidBodyPhysics/SliderJoint.md +24 -12
- package/docs/_posts/components/RigidBodyPhysics/UniversalJoint.md +23 -15
- 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 +36 -30
- 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 +34 -6
- package/docs/_posts/components/Shape/Appearance.md +29 -22
- 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 +21 -14
- package/docs/_posts/components/Shape/Shape.md +35 -17
- 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 +133 -4
- package/docs/_posts/components/Sound/AudioClip.md +64 -30
- package/docs/_posts/components/Sound/AudioDestination.md +76 -4
- package/docs/_posts/components/Sound/BiquadFilter.md +143 -4
- package/docs/_posts/components/Sound/BufferAudioSource.md +165 -13
- package/docs/_posts/components/Sound/ChannelMerger.md +62 -4
- package/docs/_posts/components/Sound/ChannelSelector.md +64 -4
- package/docs/_posts/components/Sound/ChannelSplitter.md +68 -4
- package/docs/_posts/components/Sound/Convolver.md +124 -4
- package/docs/_posts/components/Sound/Delay.md +119 -4
- package/docs/_posts/components/Sound/DynamicsCompressor.md +127 -4
- package/docs/_posts/components/Sound/Gain.md +115 -4
- package/docs/_posts/components/Sound/ListenerPointSource.md +109 -4
- package/docs/_posts/components/Sound/MicrophoneSource.md +91 -4
- package/docs/_posts/components/Sound/OscillatorSource.md +95 -4
- package/docs/_posts/components/Sound/PeriodicWave.md +43 -5
- package/docs/_posts/components/Sound/Sound.md +53 -20
- package/docs/_posts/components/Sound/SpatialSound.md +120 -4
- package/docs/_posts/components/Sound/StreamAudioDestination.md +80 -4
- package/docs/_posts/components/Sound/StreamAudioSource.md +91 -4
- package/docs/_posts/components/Sound/WaveShaper.md +123 -4
- package/docs/_posts/components/Text/FontStyle.md +73 -47
- package/docs/_posts/components/Text/Text.md +48 -26
- package/docs/_posts/components/TextureProjector/TextureProjector.md +55 -6
- package/docs/_posts/components/TextureProjector/TextureProjectorParallel.md +56 -6
- package/docs/_posts/components/Texturing/ImageTexture.md +28 -20
- package/docs/_posts/components/Texturing/MovieTexture.md +69 -38
- 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 +44 -19
- 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 +25 -13
- 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 +66 -23
- package/docs/_posts/components/VolumeRendering/BlendedVolumeStyle.md +36 -15
- package/docs/_posts/components/VolumeRendering/BoundaryEnhancementVolumeStyle.md +15 -5
- package/docs/_posts/components/VolumeRendering/CartoonVolumeStyle.md +20 -17
- package/docs/_posts/components/VolumeRendering/ComposedVolumeStyle.md +15 -7
- package/docs/_posts/components/VolumeRendering/EdgeEnhancementVolumeStyle.md +16 -8
- package/docs/_posts/components/VolumeRendering/IsoSurfaceVolumeData.md +43 -21
- package/docs/_posts/components/VolumeRendering/OpacityMapVolumeStyle.md +16 -8
- package/docs/_posts/components/VolumeRendering/ProjectionVolumeStyle.md +17 -7
- package/docs/_posts/components/VolumeRendering/SegmentedVolumeData.md +50 -17
- package/docs/_posts/components/VolumeRendering/ShadedVolumeStyle.md +18 -10
- package/docs/_posts/components/VolumeRendering/SilhouetteEnhancementVolumeStyle.md +16 -8
- package/docs/_posts/components/VolumeRendering/ToneMappedVolumeStyle.md +20 -11
- package/docs/_posts/components/VolumeRendering/VolumeData.md +32 -15
- package/docs/_posts/components/X_ITE/BlendMode.md +9 -2
- package/docs/_posts/getting-started.md +4 -7
- package/docs/_posts/laboratory/x3d-file-converter.md +1 -1
- package/docs/laboratory/gltf-sample-viewer.html +52 -4
- package/package.json +2 -1
- package/src/standard/Math/Geometry/Box2.js +12 -2
- package/src/standard/Math/Geometry/Box3.js +12 -2
- package/src/x_ite/Base/X3DObjectArrayField.js +3 -2
- package/src/x_ite/Base/X3DTypedArrayField.js +3 -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/CubeMapTexturing/ComposedCubeMapTexture.js +1 -1
- package/src/x_ite/Components/DIS/DISEntityManager.js +1 -1
- package/src/x_ite/Components/Grouping/Switch.js +1 -1
- package/src/x_ite/Components/HAnim/HAnimHumanoid.js +105 -68
- package/src/x_ite/Components/HAnim/HAnimMotion.js +3 -3
- 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/Navigation/Collision.js +1 -1
- package/src/x_ite/Components/Navigation/LOD.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/ParticleSystem.js +1 -1
- package/src/x_ite/Components/Rendering/X3DComposedGeometryNode.js +1 -1
- 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/Material.js +1 -1
- package/src/x_ite/Components/Shape/TwoSidedMaterial.js +1 -1
- package/src/x_ite/Components/Sound/PeriodicWave.js +1 -1
- package/src/x_ite/Components/Texturing/TextureProperties.js +1 -1
- package/src/x_ite/Fields/ArrayFields.js +9 -7
- 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/GLTF2Parser.js +316 -55
- 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/src/x_ite/Parser/SVGParser.js +1 -1
- /package/build/{bin → docs}/components.js +0 -0
|
@@ -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,7 +29,11 @@ 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
|
+
|
|
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"}
|
|
33
37
|
|
|
34
38
|
### MFString [in, out] **forceOutput** "NONE" <small>["ALL", "NONE", ...]</small>
|
|
35
39
|
|
|
@@ -45,7 +49,7 @@ Metadata are not part of the X3D world and not interpreted by the X3D browser, b
|
|
|
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
54
|
### SFVec3f [in, out] **axis2** 0 0 0 <small>(-∞,∞)</small>
|
|
51
55
|
|
|
@@ -53,23 +57,23 @@ Metadata are not part of the X3D world and not interpreted by the X3D browser, b
|
|
|
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
62
|
### SFFloat [in, out] **minAngle1** -π <small>π [-π,π]</small> <small class="red">not supported</small>
|
|
59
63
|
|
|
60
|
-
|
|
64
|
+
*minAngle1* is minimum rotation angle for hinge.
|
|
61
65
|
|
|
62
66
|
### SFFloat [in, out] **maxAngle1** π <small>[-π,π]</small> <small class="red">not supported</small>
|
|
63
67
|
|
|
64
|
-
|
|
68
|
+
*maxAngle1* is maximum rotation angle for hinge.
|
|
65
69
|
|
|
66
70
|
### SFFloat [in, out] **desiredAngularVelocity1** 0 <small>(-∞,∞)</small> <small class="red">not supported</small>
|
|
67
71
|
|
|
68
|
-
|
|
72
|
+
*desiredAngularVelocity1* is goal rotation rate for hinge connection to body1.
|
|
69
73
|
|
|
70
74
|
### SFFloat [in, out] **desiredAngularVelocity2** 0 <small>(-∞,∞)</small> <small class="red">not supported</small>
|
|
71
75
|
|
|
72
|
-
|
|
76
|
+
*desiredAngularVelocity2* is goal rotation rate for hinge connection to body2.
|
|
73
77
|
|
|
74
78
|
### SFFloat [in, out] **maxTorque1** 0 <small>(-∞,∞)</small> <small class="red">not supported</small>
|
|
75
79
|
|
|
@@ -81,15 +85,15 @@ DesiredAngularVelocity2 is goal rotation rate for hinge connection to body2.
|
|
|
81
85
|
|
|
82
86
|
### SFFloat [in, out] **stopBounce1** 0 <small>[0,1]<span class="red"> not supported</span></small>
|
|
83
87
|
|
|
84
|
-
Input/Output field stopBounce1
|
|
88
|
+
Input/Output field *stopBounce1*.
|
|
85
89
|
|
|
86
90
|
### SFFloat [in, out] **stopConstantForceMix1** 0.001 <small>[0,∞)<span class="red"> not supported</span></small>
|
|
87
91
|
|
|
88
|
-
Input/Output field stopConstantForceMix1
|
|
92
|
+
Input/Output field *stopConstantForceMix1*.
|
|
89
93
|
|
|
90
94
|
### SFFloat [in, out] **stopErrorCorrection1** 0.8 <small>[0,1]<span class="red"> not supported</span></small>
|
|
91
95
|
|
|
92
|
-
Input/Output field stopErrorCorrection1
|
|
96
|
+
Input/Output field *stopErrorCorrection1*.
|
|
93
97
|
|
|
94
98
|
### SFFloat [in, out] **suspensionForce** 0 <small>[0,∞)<span class="red"> not supported</span></small>
|
|
95
99
|
|
|
@@ -97,7 +101,8 @@ Input/Output field stopErrorCorrection1.
|
|
|
97
101
|
|
|
98
102
|
#### Hints
|
|
99
103
|
|
|
100
|
-
- 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.
|
|
101
106
|
|
|
102
107
|
### SFFloat [in, out] **suspensionErrorCorrection** 0.8 <small>[0,1]<span class="red"> not supported</span></small>
|
|
103
108
|
|
|
@@ -105,54 +110,55 @@ Input/Output field stopErrorCorrection1.
|
|
|
105
110
|
|
|
106
111
|
#### Hints
|
|
107
112
|
|
|
108
|
-
- 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.
|
|
109
115
|
|
|
110
116
|
### SFVec3f [out] **body1AnchorPoint**
|
|
111
117
|
|
|
112
|
-
Output field body1AnchorPoint
|
|
118
|
+
Output field *body1AnchorPoint*.
|
|
113
119
|
|
|
114
120
|
### SFVec3f [out] **body2AnchorPoint**
|
|
115
121
|
|
|
116
|
-
Output field body2AnchorPoint
|
|
122
|
+
Output field *body2AnchorPoint*.
|
|
117
123
|
|
|
118
124
|
### SFVec3f [out] **body1Axis**
|
|
119
125
|
|
|
120
|
-
Output field body1Axis
|
|
126
|
+
Output field *body1Axis*.
|
|
121
127
|
|
|
122
128
|
### SFVec3f [out] **body2Axis**
|
|
123
129
|
|
|
124
|
-
Output field body2Axis
|
|
130
|
+
Output field *body2Axis*.
|
|
125
131
|
|
|
126
132
|
### SFFloat [out] **hinge1Angle**
|
|
127
133
|
|
|
128
|
-
Output field hinge1Angle
|
|
134
|
+
Output field *hinge1Angle*.
|
|
129
135
|
|
|
130
136
|
### SFFloat [out] **hinge2Angle**
|
|
131
137
|
|
|
132
|
-
Output field hinge2Angle
|
|
138
|
+
Output field *hinge2Angle*.
|
|
133
139
|
|
|
134
140
|
### SFFloat [out] **hinge1AngleRate**
|
|
135
141
|
|
|
136
|
-
Output field hinge1AngleRate
|
|
142
|
+
Output field *hinge1AngleRate*.
|
|
137
143
|
|
|
138
144
|
### SFFloat [out] **hinge2AngleRate**
|
|
139
145
|
|
|
140
|
-
Output field hinge2AngleRate
|
|
146
|
+
Output field *hinge2AngleRate*.
|
|
141
147
|
|
|
142
148
|
### SFNode [in, out] **body1** NULL <small>[RigidBody]</small>
|
|
143
149
|
|
|
144
|
-
|
|
150
|
+
The *body1* and body2 fields indicate the two RigidBody nodes connected by this joint.
|
|
145
151
|
|
|
146
152
|
### SFNode [in, out] **body2** NULL <small>[RigidBody]</small>
|
|
147
153
|
|
|
148
|
-
|
|
154
|
+
The body1 and *body2* fields indicate the two RigidBody nodes connected by this joint.
|
|
149
155
|
|
|
150
|
-
##
|
|
156
|
+
## Advisories
|
|
151
157
|
|
|
152
158
|
### Hint
|
|
153
159
|
|
|
154
160
|
- RigidBodyPhysics component, level 2.
|
|
155
161
|
|
|
156
|
-
##
|
|
162
|
+
## See Also
|
|
157
163
|
|
|
158
|
-
- [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,7 +29,11 @@ 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
|
-
|
|
32
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
33
|
+
|
|
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"}
|
|
33
37
|
|
|
34
38
|
### SFBool [ ] **autoCalc** FALSE
|
|
35
39
|
|
|
@@ -43,14 +47,26 @@ Metadata are not part of the X3D world and not interpreted by the X3D browser, b
|
|
|
43
47
|
|
|
44
48
|
*axis1Angle* (radians) is rotation angle for corresponding motor axis when in user-calculated mode.
|
|
45
49
|
|
|
50
|
+
#### Hint
|
|
51
|
+
|
|
52
|
+
- [Radian units for angular measure](https://en.wikipedia.org/wiki/Radian){:target="_blank"}
|
|
53
|
+
|
|
46
54
|
### SFFloat [in, out] **axis2Angle** 0 <small>[-π,π]</small>
|
|
47
55
|
|
|
48
56
|
*axis2Angle* (radians) is rotation angle for corresponding motor axis when in user-calculated mode.
|
|
49
57
|
|
|
58
|
+
#### Hint
|
|
59
|
+
|
|
60
|
+
- [Radian units for angular measure](https://en.wikipedia.org/wiki/Radian){:target="_blank"}
|
|
61
|
+
|
|
50
62
|
### SFFloat [in, out] **axis3Angle** 0 <small>[-π,π]</small>
|
|
51
63
|
|
|
52
64
|
*axis3Angle* (radians) is rotation angle for corresponding motor axis when in user-calculated mode.
|
|
53
65
|
|
|
66
|
+
#### Hint
|
|
67
|
+
|
|
68
|
+
- [Radian units for angular measure](https://en.wikipedia.org/wiki/Radian){:target="_blank"}
|
|
69
|
+
|
|
54
70
|
### SFFloat [in, out] **axis1Torque** 0 <small>(-∞,∞)</small>
|
|
55
71
|
|
|
56
72
|
*axis1Torque* is rotational torque applied by corresponding motor axis when in user-calculated mode.
|
|
@@ -73,7 +89,7 @@ Metadata are not part of the X3D world and not interpreted by the X3D browser, b
|
|
|
73
89
|
|
|
74
90
|
#### Hint
|
|
75
91
|
|
|
76
|
-
- 0 0 0 means motor disabled.
|
|
92
|
+
- 0 0 0 means motor disabled about this axis.
|
|
77
93
|
|
|
78
94
|
### SFVec3f [in, out] **motor2Axis** 0 0 0 <small>(-∞,∞)</small>
|
|
79
95
|
|
|
@@ -81,7 +97,7 @@ Metadata are not part of the X3D world and not interpreted by the X3D browser, b
|
|
|
81
97
|
|
|
82
98
|
#### Hint
|
|
83
99
|
|
|
84
|
-
- 0 0 0 means motor disabled.
|
|
100
|
+
- 0 0 0 means motor disabled about this axis.
|
|
85
101
|
|
|
86
102
|
### SFVec3f [in, out] **motor3Axis** 0 0 0 <small>(-∞,∞)</small>
|
|
87
103
|
|
|
@@ -89,7 +105,7 @@ Metadata are not part of the X3D world and not interpreted by the X3D browser, b
|
|
|
89
105
|
|
|
90
106
|
#### Hint
|
|
91
107
|
|
|
92
|
-
- 0 0 0 means motor disabled.
|
|
108
|
+
- 0 0 0 means motor disabled about this axis.
|
|
93
109
|
|
|
94
110
|
### SFFloat [in, out] **stop1Bounce** 0 <small>[0,1]</small>
|
|
95
111
|
|
|
@@ -143,41 +159,77 @@ Metadata are not part of the X3D world and not interpreted by the X3D browser, b
|
|
|
143
159
|
|
|
144
160
|
*motor1Angle* provides calculated angle of rotation (radians) for this motor joint from last frame.
|
|
145
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
|
+
|
|
146
170
|
### SFFloat [out] **motor2Angle**
|
|
147
171
|
|
|
148
172
|
*motor2Angle* provides calculated angle of rotation (radians) for this motor joint from last frame.
|
|
149
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
|
+
|
|
150
182
|
### SFFloat [out] **motor3Angle**
|
|
151
183
|
|
|
152
184
|
*motor3Angle* provides calculated angle of rotation (radians) for this motor joint from last frame.
|
|
153
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
|
+
|
|
154
194
|
### SFFloat [out] **motor1AngleRate**
|
|
155
195
|
|
|
156
196
|
*motor1AngleRate* provides calculated anglular rotation rate (radians/second) for this motor joint from last frame.
|
|
157
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
|
+
|
|
158
202
|
### SFFloat [out] **motor2AngleRate**
|
|
159
203
|
|
|
160
204
|
*motor2AngleRate* provides calculated anglular rotation rate (radians/second) for this motor joint from last frame.
|
|
161
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
|
+
|
|
162
210
|
### SFFloat [out] **motor3AngleRate**
|
|
163
211
|
|
|
164
212
|
*motor3AngleRate* provides calculated anglular rotation rate (radians/second) for this motor joint from last frame.
|
|
165
213
|
|
|
214
|
+
#### Warning
|
|
215
|
+
|
|
216
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
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
|
|
|
@@ -28,7 +28,11 @@ The RigidBody node belongs to the **RigidBodyPhysics** component and its default
|
|
|
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
|
### SFBool [in, out] **enabled** TRUE
|
|
34
38
|
|
|
@@ -40,7 +44,7 @@ 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
49
|
### SFVec3f [in, out] **position** 0 0 0 <small>(-∞,∞)</small>
|
|
46
50
|
|
|
@@ -98,9 +102,14 @@ Enables/disables node operation.
|
|
|
98
102
|
|
|
99
103
|
*mass* of the body in kilograms.
|
|
100
104
|
|
|
105
|
+
#### Hints
|
|
106
|
+
|
|
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"}
|
|
109
|
+
|
|
101
110
|
#### Warning
|
|
102
111
|
|
|
103
|
-
-
|
|
112
|
+
- *mass* must be greater than 0.
|
|
104
113
|
|
|
105
114
|
### SFVec3f [in, out] **centerOfMass** 0 0 0 <small>(-∞,∞)</small>
|
|
106
115
|
|
|
@@ -108,7 +117,7 @@ Enables/disables node operation.
|
|
|
108
117
|
|
|
109
118
|
### SFNode [in, out] **massDensityModel** NULL <small class="red">not supported</small>
|
|
110
119
|
|
|
111
|
-
|
|
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.
|
|
112
121
|
|
|
113
122
|
### SFBool [in, out] **useGlobalGravity** TRUE
|
|
114
123
|
|
|
@@ -128,7 +137,7 @@ Input/Output field massDensityModel.
|
|
|
128
137
|
|
|
129
138
|
### SFMatrix3f [in, out] **inertia** 1 0 0 0 1 0 0 0 1 <small>1 0 0</small>
|
|
130
139
|
|
|
131
|
-
*inertia* matrix defines a 3x2 inertia tensor matrix.
|
|
140
|
+
*inertia* matrix defines a 3x2 *inertia* tensor matrix.
|
|
132
141
|
|
|
133
142
|
#### Warning
|
|
134
143
|
|
|
@@ -142,9 +151,10 @@ Input/Output field massDensityModel.
|
|
|
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"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: RigidBodyCollection
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-RigidBodyPhysics
|
|
5
5
|
categories: [components, RigidBodyPhysics]
|
|
6
6
|
tags: [RigidBodyCollection, RigidBodyPhysics]
|
|
@@ -15,7 +15,7 @@ tags: [RigidBodyCollection, RigidBodyPhysics]
|
|
|
15
15
|
|
|
16
16
|
RigidBodyCollection represents a system of bodies that interact within a single physics model.
|
|
17
17
|
|
|
18
|
-
The RigidBodyCollection node belongs to the **RigidBodyPhysics** component and its default container field is *children.* It is available
|
|
18
|
+
The RigidBodyCollection 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
|
|
|
@@ -29,7 +29,11 @@ The RigidBodyCollection node belongs to the **RigidBodyPhysics** component and i
|
|
|
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
|
+
|
|
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"}
|
|
33
37
|
|
|
34
38
|
### SFBool [in, out] **enabled** TRUE
|
|
35
39
|
|
|
@@ -37,11 +41,15 @@ Enables/disables node operation.
|
|
|
37
41
|
|
|
38
42
|
### MFNode [in] **set_contacts** <small class="red">not supported</small>
|
|
39
43
|
|
|
40
|
-
*set_contacts* input field for Contact nodes provides per-frame information about contacts between bodies.
|
|
44
|
+
*set_contacts* input field for Contact nodes provides per-frame information about *contacts* between bodies.
|
|
45
|
+
|
|
46
|
+
#### Warning
|
|
47
|
+
|
|
48
|
+
- It is an error to define this transient inputOnly field in an X3D file, instead only use it a destination for ROUTE events.
|
|
41
49
|
|
|
42
50
|
### SFVec3f [in, out] **gravity** 0 -9.8 0 <small>(-∞,∞)</small>
|
|
43
51
|
|
|
44
|
-
*gravity* indicates direction and strength of local gravity vector for this collection of bodies (units m/sec^2).
|
|
52
|
+
*gravity* indicates direction and strength of local *gravity* vector for this collection of bodies (units m/sec^2).
|
|
45
53
|
|
|
46
54
|
### SFBool [in, out] **preferAccuracy** FALSE
|
|
47
55
|
|
|
@@ -53,7 +61,7 @@ Enables/disables node operation.
|
|
|
53
61
|
|
|
54
62
|
### SFInt32 [in, out] **iterations** 10 <small>[0,∞)</small>
|
|
55
63
|
|
|
56
|
-
*iterations* controls number of iterations performed over collectioned joints and bodies during each evaluation.
|
|
64
|
+
*iterations* controls number of *iterations* performed over collectioned joints and bodies during each evaluation.
|
|
57
65
|
|
|
58
66
|
### SFFloat [in, out] **constantForceMix** 0.0001 <small>[0,∞)</small> <small class="red">not supported</small>
|
|
59
67
|
|
|
@@ -61,11 +69,12 @@ Enables/disables node operation.
|
|
|
61
69
|
|
|
62
70
|
#### Hints
|
|
63
71
|
|
|
64
|
-
- This allows joints and bodies to be a fraction springy, and helps to eliminate numerical instability.
|
|
72
|
+
- This allows joints and bodies to be a fraction springy, and helps to eliminate numerical instability.
|
|
73
|
+
- Spring-driven or spongy connections can be emulated by combined use of errorCorrection and *constantForceMix*.
|
|
65
74
|
|
|
66
75
|
### SFFloat [in, out] **maxCorrectionSpeed** -1 <small>[0,∞) or -1</small> <small class="red">not supported</small>
|
|
67
76
|
|
|
68
|
-
Or -1, maxCorrectionSpeed .
|
|
77
|
+
Or -1, *maxCorrectionSpeed* .
|
|
69
78
|
|
|
70
79
|
### SFFloat [in, out] **contactSurfaceThickness** 0 <small>[0,∞)</small>
|
|
71
80
|
|
|
@@ -79,9 +88,10 @@ Or -1, maxCorrectionSpeed .
|
|
|
79
88
|
|
|
80
89
|
*disableTime* defines interval when body becomes at rest and not part of rigid body calculations, reducing numeric instabilities.
|
|
81
90
|
|
|
82
|
-
####
|
|
91
|
+
#### Hints
|
|
83
92
|
|
|
84
93
|
- Only activated if autoDisable='true'
|
|
94
|
+
- *disableTime* is an SFTime duration interval, not an absolute clock time.
|
|
85
95
|
|
|
86
96
|
### SFFloat [in, out] **disableLinearSpeed** 0 <small>[0,∞)</small>
|
|
87
97
|
|
|
@@ -101,20 +111,26 @@ Or -1, maxCorrectionSpeed .
|
|
|
101
111
|
|
|
102
112
|
### SFNode [ ] **collider** NULL <small>[CollisionCollection]</small>
|
|
103
113
|
|
|
104
|
-
|
|
114
|
+
The *collider* field associates a collision collection with this rigid body collection allowing seamless updates and integration without the need to use the X3D event model.
|
|
105
115
|
|
|
106
116
|
### MFNode [in, out] **bodies** [ ] <small>[RigidBody]</small>
|
|
107
117
|
|
|
108
|
-
|
|
118
|
+
Collection of top-level nodes that comprise a set of *bodies* evaluated as a single set of interactions.
|
|
109
119
|
|
|
110
120
|
### MFNode [in, out] **joints** [ ] <small>[X3DRigidJointNode]</small>
|
|
111
121
|
|
|
112
|
-
|
|
122
|
+
The *joints* field is used to register all *joints* between bodies contained in this collection.
|
|
123
|
+
|
|
124
|
+
#### Warnings
|
|
125
|
+
|
|
126
|
+
- If a joint is connected between bodies in two different collections, the result is implementation-dependent.
|
|
127
|
+
- If a joint instance is registered with more than one collection, the results are implementation dependent.
|
|
128
|
+
- Joints not registered with any collection are not evaluated.
|
|
113
129
|
|
|
114
130
|
## Example
|
|
115
131
|
|
|
116
132
|
<x3d-canvas src="https://create3000.github.io/media/examples/RigidBodyPhysics/RigidBodyCollection/RigidBodyCollection.x3d" update="auto"></x3d-canvas>
|
|
117
133
|
|
|
118
|
-
##
|
|
134
|
+
## See Also
|
|
119
135
|
|
|
120
|
-
- [X3D Specification of RigidBodyCollection](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#RigidBodyCollection){:target="_blank"}
|
|
136
|
+
- [X3D Specification of RigidBodyCollection node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#RigidBodyCollection){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: SingleAxisHingeJoint
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-RigidBodyPhysics
|
|
5
5
|
categories: [components, RigidBodyPhysics]
|
|
6
6
|
tags: [SingleAxisHingeJoint, RigidBodyPhysics]
|
|
@@ -15,7 +15,7 @@ tags: [SingleAxisHingeJoint, RigidBodyPhysics]
|
|
|
15
15
|
|
|
16
16
|
SingleAxisHingeJoint has single axis about which to rotate, similar to a traditional door hinge. Contains two RigidBody nodes (containerField values body1, body2).
|
|
17
17
|
|
|
18
|
-
The SingleAxisHingeJoint node belongs to the **RigidBodyPhysics** component and its default container field is *joints.* It is available
|
|
18
|
+
The SingleAxisHingeJoint 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,7 +29,11 @@ The SingleAxisHingeJoint 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
|
+
|
|
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"}
|
|
33
37
|
|
|
34
38
|
### MFString [in, out] **forceOutput** "NONE" <small>["ALL", "NONE", ...]</small>
|
|
35
39
|
|
|
@@ -47,13 +51,21 @@ Metadata are not part of the X3D world and not interpreted by the X3D browser, b
|
|
|
47
51
|
|
|
48
52
|
*minAngle* is minimum rotation angle for hinge.
|
|
49
53
|
|
|
54
|
+
#### Hint
|
|
55
|
+
|
|
56
|
+
- [Radian units for angular measure](https://en.wikipedia.org/wiki/Radian){:target="_blank"}
|
|
57
|
+
|
|
50
58
|
### SFFloat [in, out] **maxAngle** π <small>[-π,π)</small> <small class="red">not supported</small>
|
|
51
59
|
|
|
52
60
|
*maxAngle* is maximum rotation angle for hinge.
|
|
53
61
|
|
|
62
|
+
#### Hint
|
|
63
|
+
|
|
64
|
+
- [Radian units for angular measure](https://en.wikipedia.org/wiki/Radian){:target="_blank"}
|
|
65
|
+
|
|
54
66
|
### SFFloat [in, out] **stopBounce** 0 <small>[0,1]</small> <small class="red">not supported</small>
|
|
55
67
|
|
|
56
|
-
|
|
68
|
+
*stopBounce* is velocity factor for bounce back once stop point is reached.
|
|
57
69
|
|
|
58
70
|
#### Hint
|
|
59
71
|
|
|
@@ -61,7 +73,7 @@ StopBounce is velocity factor for bounce back once stop point is reached.
|
|
|
61
73
|
|
|
62
74
|
### SFFloat [in, out] **stopErrorCorrection** 0.8 <small>[0,1]</small> <small class="red">not supported</small>
|
|
63
75
|
|
|
64
|
-
|
|
76
|
+
*stopErrorCorrection* is fraction of error correction performed during time step once stop point is reached.
|
|
65
77
|
|
|
66
78
|
#### Hint
|
|
67
79
|
|
|
@@ -69,29 +81,29 @@ StopErrorCorrection is fraction of error correction performed during time step o
|
|
|
69
81
|
|
|
70
82
|
### SFVec3f [out] **body1AnchorPoint**
|
|
71
83
|
|
|
72
|
-
Output field body1AnchorPoint
|
|
84
|
+
Output field *body1AnchorPoint*.
|
|
73
85
|
|
|
74
86
|
### SFVec3f [out] **body2AnchorPoint**
|
|
75
87
|
|
|
76
|
-
Output field body2AnchorPoint
|
|
88
|
+
Output field *body2AnchorPoint*.
|
|
77
89
|
|
|
78
90
|
### SFFloat [out] **angle**
|
|
79
91
|
|
|
80
|
-
Output field angle
|
|
92
|
+
Output field *angle*.
|
|
81
93
|
|
|
82
94
|
### SFFloat [out] **angleRate**
|
|
83
95
|
|
|
84
|
-
Output field angleRate
|
|
96
|
+
Output field *angleRate*.
|
|
85
97
|
|
|
86
98
|
### SFNode [in, out] **body1** NULL <small>[RigidBody]</small>
|
|
87
99
|
|
|
88
|
-
|
|
100
|
+
The *body1* and body2 fields indicate the two RigidBody nodes connected by this joint.
|
|
89
101
|
|
|
90
102
|
### SFNode [in, out] **body2** NULL <small>[RigidBody]</small>
|
|
91
103
|
|
|
92
|
-
|
|
104
|
+
The body1 and *body2* fields indicate the two RigidBody nodes connected by this joint.
|
|
93
105
|
|
|
94
|
-
##
|
|
106
|
+
## Advisories
|
|
95
107
|
|
|
96
108
|
### Hint
|
|
97
109
|
|
|
@@ -101,6 +113,6 @@ Input/Output field body2.
|
|
|
101
113
|
|
|
102
114
|
<x3d-canvas src="https://create3000.github.io/media/examples/RigidBodyPhysics/SingleAxisHingeJoint/SingleAxisHingeJoint.x3d" update="auto"></x3d-canvas>
|
|
103
115
|
|
|
104
|
-
##
|
|
116
|
+
## See Also
|
|
105
117
|
|
|
106
|
-
- [X3D Specification of SingleAxisHingeJoint](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#SingleAxisHingeJoint){:target="_blank"}
|
|
118
|
+
- [X3D Specification of SingleAxisHingeJoint node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#SingleAxisHingeJoint){:target="_blank"}
|