Post

WindPhysicsModel

Overview

WindPhysicsModel applies a wind effect to the particles. The wind includes a random variation factor to model gustiness.

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

Hierarchy

1
2
3
+ X3DNode
  + X3DParticlePhysicsModelNode
    + WindPhysicsModel

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.

SFVec3f [in, out] direction 1 0 0 (-∞,∞)

direction in which wind is travelling in the form of a normalized, unit vector.

SFFloat [in, out] speed 0.1 [0,∞)

Initial linear speed (default is m/s) imparted to all particles along their direction of movement.

SFFloat [in, out] gustiness 0.1 [0,∞)

gustiness specifies how much wind speed varies from the average speed.

Hint

  • Wind speed variation is calculated once per frame and applied equally to all particles.

SFFloat [in, out] turbulence 0 [0,1]

turbulence field specifies how much the wind acts directly in line with the direction, and how much variation is applied in directions other than the wind direction.

Hint

  • This is determined per-particle to model how each is effected by turbulence.

Example

See Also

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