forked from cyberbotics/webots
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFluid.wrl
23 lines (22 loc) · 1.48 KB
/
Fluid.wrl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# A Fluid node can be used to represent a collection of fluid volumes where hydrostatic and hydrodynamic forces apply.
# parent: Pose
Fluid {
#fields that inherit from the Pose node:
w3dField SFVec3f translation 0 0 0
w3dField SFRotation rotation 0 0 1 0
w3dField MFNode children [] # shapes representing the fluid volume
#fields specific to the Fluid node:
field SFString name "fluid" # used in ImmersionProperties
field SFString model "" # generic name of the fluid (eg: "sea")
field SFString description "" # a short (1 line) of description of the fluid
field SFFloat density 1000 # (kg/m^3) fluid density
field SFFloat viscosity 0.001 # (kg/(ms)) fluid's dynamic viscosity
field SFVec3f streamVelocity 0 0 0 # (m/s) linear fluid velocity
field SFNode boundingObject NULL # fluid boundary
field SFFloat translationStep 0.01 # step size used by translation manipulator
field SFFloat rotationStep 0.261799387 # step size used by rotation manipulator (PI/12)
field SFBool locked FALSE # to avoid moving fluid volume with the mouse
#fields that inherit from the Pose node:
field SFFloat translationStep 0.01 # step size used by translation manipulator
field SFFloat rotationStep 0.261799387 # step size used by rotation manipulator (PI/12)
}