User Guide
ADOBE ATMOSPHERE 359
User Guide
createSimpleRigidWindAction(PhysicalModel, direction, strength)
Creates and returns a new “SimpleRigidWindAction”. This action simulates the effect of wind on a single
physical model. (Additional wind actions may be created.)
direction = Vector( 0, 0, -1.0 );
strength = 3.0;
solver = FastConstraintSolver();
windAction = solver.createSimpleRigidWindAction(PhysicalModel, direction, strength);
solver.addAction(windAction);
createSingleDragAction()
Creates and returns a new “SingleDragAction”. The effect is that of slowing down the momentum of the object
for both direction and rotation. This action differs from “DragAction” in that the effect is limited to a single
physical model.
solver = FastConstraintSolver();
velocityDrag = 1;
angularVelocityDrag = 1;
dragAction = solverA.createSingleDragAction(velocityDrag, angularVelocityDrag);
solverA.addAction(dragAction);
addAction(action)
Adds the action to the Solver for calculation.
solver.addAction(action);
removeAction(action)
Removes the action from the Solver.
solver.removeAction(action);
AngularDashpot
An angular dashpot is a physical entity that applies torques to two physical models in proportion to the degree to
which they are away from a preferred relative orientation. They may be thought of as angular springs whose torque
depends on the relative orientation and difference in angular velocity between the two physical models. The preferred
relative orientation is set using a rotation object.
It should be noted that for any of the physics based constraints or actions, it is necessary to assign reasonable mass
values when creating the physical models so that physics processing does not become unstable (driven out of scope).
The guidelines for mass and inertia are decribed in the method createPhysicalModel().
Properties
damping
The level of damping of the dashpot.
angularDashpot.damping = 0.5;










