Post

ForcePhysicsModel

Overview

ForcePhysicsModel applies a constant force value to the particles.

The ForcePhysicsModel 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
    + ForcePhysicsModel

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] force 0 -9.8 0 (∞,∞)

force field indicates strength and direction of the propelling force on the particles (for example, default is Earth’s gravity).

Hints

Advice

Hint

  • Force may act in any given direction vector at any strength.

Example

View Source in Playground

See Also

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