Post

BoundedPhysicsModel

Overview

BoundedPhysicsModel provides user-defined geometrical boundaries for particle motion. A child geometry node specifies boundaries that constrain the location of the particles.

The BoundedPhysicsModel node belongs to the ParticleSystems component and requires at least level 2, its default container field is physics. It is available from X3D version 3.2 or higher.

Hierarchy

1
2
3
+ X3DNode
  + X3DParticlePhysicsModelNode
    + BoundedPhysicsModel

Fields

SFNode [in, out] metadata NULL [X3DMetadataObject]

Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.

Hint

SFBool [in, out] enabled TRUE

Enables/disables node operation.

SFFloat [in, out] damping 1 (-∞,∞) non standard

Damping of velocity in the event of a collision.

SFNode [in, out] geometry NULL [X3DGeometryNode]

Single contained geometry node provides the geometry used for each particle when the parent ParticleSystem node has geometryType=GEOMETRY.

Hint

Warning

  • Requires X3D profile='Full' or else include <component name='Geospatial' level='1'/>

Advice

Hint

  • When a particle touches the boundary surface, it is reflected by the geometry (either inside or outside).

Example

See Also

This post is licensed under CC BY 4.0 by the author.