The Tutorial is updated for version 1.x.

This commit is contained in:
Ramin Khodabandeh
2024-05-28 12:38:21 +04:30
parent 159ec5f1ff
commit 2f9db61983
10 changed files with 58 additions and 71 deletions

View File

@ -16,13 +16,13 @@ setFields
defaultValue
{
velocity realx3 (0 0 0); // linear velocity (m/s)
velocity realx3 (0 0 0); // linear velocity (m/s)
acceleration realx3 (0 0 0); // linear acceleration (m/s2)
acceleration realx3 (0 0 0); // linear acceleration (m/s2)
rVelocity realx3 (0 0 0); // rotational velocity (rad/s)
rVelocity realx3 (0 0 0); // rotational velocity (rad/s)
shapeName word lightSphere; // name of the particle shape
shapeName word lightSphere; // name of the particle shape
}
selectors
@ -31,14 +31,14 @@ setFields
positionParticles // positions particles
{
method empty; // other options: ordered and random
method empty; // other options: ordered and random
regionType box; // other options: cylinder and sphere
regionType box; // other options: cylinder and sphere
boxInfo // box region for positioning particles
boxInfo // box region for positioning particles
{
min (-0.08 -0.08 0.015); // lower corner point of the box
min (-0.08 -0.08 0.015); // lower corner point of the box
max ( 0.08 0.08 0.098); // upper corner point of the box
max ( 0.08 0.08 0.098); // upper corner point of the box
}
}