This component belongs to the category of AnimationLoop.
The DefaultAnimationLoop is the component that rules the steps of the simulation in the default order. It consists in computing the collision (if any), the projective constraints, the physics, solving the resulting linear system and finally updating all data before another step begins.
The DefaultAnimationLoop has one data:
- computeBoundingBox: a boolean defining whether the global bounding box of the scene is computed at each time step. Used mostly for rendering.
The DefaultAnimationLoop has no pre-requisite. If no AnimationLoop is specified in the scene, this animation loop is included by default at the root node of the graph.
Note that this AnimationLoop does not support constraints solved using Lagrange multipliers.
This component is used as follows in XML format:
or using SofaPython3:
An example scene involving a DefaultAnimationLoop is available in examples/Components/mass/UniformMass.scn
Last modified: 26 October 2023