Obi Official Forum

Full Version: What is the difference between the renderablePositions and position in ObiSolver
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
What is the difference between the renderablePositions and position in ObiSolver
(27-04-2019, 11:14 PM)apapaxionga Wrote: [ -> ]What is the difference between the renderablePositions and position in ObiSolver

Quote from the docs:

Quote:If the solver's interpolation mode is set to interpolate, solver.renderablePositions will contain temporally smoothed-out positions that won´t coincide with the actual particle positions at the end of the simulation step. That's why they are called "renderable": they are only used for smooth rendering, but they aren't needed by the solver and thus not calculated unless requested.

See:
http://obi.virtualmethodstudio.com/tutor...icles.html