Titania X3D Editor

Bring Colours to Your Life.

Titania v4.3.5

Bring Colours to Your Life.

X3D Reference

WindPhysicsModel

WindPhysicsModel

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 its container field is physics. It is available since X3D version 3.2 or later.

Hierarchy

Fields

SFNode [in, out] metadata NULL [X3DMetadataObject]

Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.

SFBool [in, out] enabled TRUE

Enables/disables node operation.

SFVec3f [in, out] direction 0 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,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

WindPhysicsModel

XML Encoding

Classic Encoding

JSON Encoding

Browser Compatibility

Titania X_ITE
yes yes

External Links

Cookies and other Technologies

By clicking »Accept« or continuing to use the site, you agree to the use of CREATE3000 and third-party cookies and other similar technologies to enhance your browsing experience, analyze and measure your engagement with our content, and provide more relevant ads on CREATE3000 websites and others. Learn more about cookies. You can withdraw your consent at any time.